Message Boards Message Boards

Specify independent variable in differential equation?

Posted 8 years ago

Hi everyone, could you help me to find the statement to specify the independent variable when I solve a differential equation (step-by-step solution)? So far I tried the following statements to specify "t" as independent variable:

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

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

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

also with square brackets, but it doen not work (the software considers "w" as independent variable).

Thank you a lot.

POSTED BY: Gennaro Arguzzi
Posted 8 years ago

Sometimes WolframAlpha will understand some Mathematica notation better than struggling trying to find another notation that works

WolframAlpha["DSolve[{x'[t]+x[t]==Sqrt[Sin[w*t]^2],x[0]==0},x[t],t]", PodStates -> {"Step-by-step solution"}]

POSTED BY: Bill Simpson
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract