Solving differential equations
Mathematica: Analytical (formal, symbolic)
In[2]:= DSolve[ {y'[t] == y[t], y[0]==1}, y[t], t ]
Out[2]= {{y[t]= Et }}
Numerical (&graphical)
NDSolve[{y'[t] == y[t], y[0] == 1}, y, {t, 0, 3}]
Plot[Evaluate[ y[t] /. % ], {t, 0, 3}]
y
t
Previous slide
Next slide
Back to first slide
View graphic version