Previous Up Next

10.3.5  Approximating solutions of y’=f(t,y): odesolve

The odesolve command can solve first order differential equations or first order systems. This section covers equations, systems will be discussed in the next section.

odesolve finds values of the solution of a differential equation of the form y′=f(t,y); specifically, it will approximate y(t1) for a specified t1.

odesolve can takes its arguments in various ways. Letting t and y be the independent and dependent variables, t0 and y0 be the initial values, t1 the place where you want the value of y, f be the function in the differential equation, f(t,y) be an expression which determines the function f (see Section 6.15.1 for the difference between a function and an expression):


Examples.


Previous Up Next