Solutions

Nonlinearity is a typical sign of unsolvability, but here DSolve prevails.

In[24]:=

(*3.7*)DSolve[{y '[t] + y[t]^20, y[0] 2}, y[t], t] Plot[y[t]/.%, {t, 0, 10}]

Out[24]=

{{y[t] 2/(1 + 2 t)}}

[Graphics:../HTMLFiles/ex05_solutions_53.gif]

Out[25]=

⁃Graphics⁃

In the next one, DSolve fails. We will solve it using NDSolve, but to do that, we must supply the problem with some initial conditions. Remember to give the interval to NDSolve!

In[26]:=

(*3.8*)DSolve[{θ''[t] + 1/10θ '[t] + 2Sin[θ[t]] 3Cos[2t]}, &# ... 513;1, θ '[0] 0}, θ[t], {t, 0, 10Pi}] Plot[θ[t]/.%, {t, 0, 10Pi}]

Out[26]=

DSolve[{2 Sin[θ[t]] + θ^′[t]/10 + θ^′′[t] 3 Cos[2 t]}, θ[t], t]

Out[27]=

{{θ[t] InterpolatingFunction[{{0., 31.4159}}, <>][t]}}

[Graphics:../HTMLFiles/ex05_solutions_58.gif]

Out[28]=

⁃Graphics⁃


Created by Mathematica  (April 10, 2007) Valid XHTML 1.1!