This preview shows page 1. Sign up to view the full content.
Unformatted text preview: x ( t ) provided by Mathematica and Maple coincide; while y ( t ) will coincide for t 2. This should act as a warning to be careful in interpreting the output provided by these packages. Turning to the threeequation system (example 5.5) with initial condition ( x , y , z ) = (3 , 4 , 3) x t = x t 1 + 2 y t 1 + z t 1 y t = x t 1 + y t 1 z t = 3 x t 1 6 y t 1 z t 1 x = 3 , y = 4 , z = 3 then we would enter the following commands in each programme: Mathematica equ={x[t]==x[t1]+2y[t1]+z[t1], y[t]==x[t1]+y[t1], z[t]==3x[t1]6y[t1]z[t1] x[0]==3, y[0]==4,z[0]==3} var={x[t],y[t],z[t]} RSolve[equ,var,t] Maple equ:=x(t)=x(t1)+2*y(t1)+z(t1), y(t)=x(t1)+y(t1), z(t)=3*x(t1)6*y(t1)z(t1); init:=x(0)=3, y(0)=4, z(0)=3; var:={x(t),y(t),z(t)}; rsolve({equ,init},var);...
View
Full
Document
This note was uploaded on 12/14/2011 for the course ECO 3023 taught by Professor Dr.gwartney during the Fall '11 term at FSU.
 Fall '11
 Dr.Gwartney
 Economics

Click to edit the document details