Solve differential equation a*x'+b*x=|sin(w*t)| on Mathematica calling W|A?

Hi everyone, how could I solve the differential equation ax’+bx=|sin(w*t)| with x(0)=0 on Mathematica?
Thank you for your time.

If you can justify rewriting |sin(w * t)| as sqrt(sin(w * t)^2) and you carefully study the examples

here

to understand the notation that Mathematica demands then you should be able to use Mathematica to solve your problem.

If you try it and it doesn’t work then post showing exactly what you have done and someone might see what the problem is.

Watch out for capitalization of names and use of () versus [] versus {} as those are all different and Mathematica expects all this to be done in the required format.
[1]: DSolve: Solve a differential equation—Wolfram Documentation

Thank you very much. At the beginning I tried with wrong statement:

WolframAlpha["L*x'+R*x=Abs[sin(t)] and x(0)=0", 
 PodStates -> {"Step-by-step solution"}]

Then I tried with the right statement:

WolframAlpha["L*x'+R*x=Sqrt[(sin(t))^2] and x(0)=0", 
 PodStates -> {"Step-by-step solution"}]

Also note that Wolfram|Alpha behaves differently from Mathematica. Your post is tagged Wolfram|Alpha but your question suggests Mathematica. From your last post it appears that you call Wolfram|Alpha from within Mathematica. I think that it would be more powerful to use the appropriate Wolfram Language functions such as DSolve and NDSolve.

But then, you ask for step-by-step solutions so that only works with Wolfram|Alpha.

Cheers,

Marco

Close, but not quite

WolframAlpha attempt