Exercise 5.2

Consider the initial value problem:

$ \dot{x} = \frac{tx}{(1+x^{2})}$ ,     $ x(0) = 3$
a)
Using ode23 calculate $ x(t)$ on the interval $ [0,2]$ . How many steps are used to obtain this result? Plot the graph of $ x(t)$ .
b)
What is de approximation for $ x(2)$ in part a)?



Previous      Next      Up      Answer


Esteur 2010-03-22