This preview shows page 1. Sign up to view the full content.
Unformatted text preview: h = . 1 Solution Set x ( t ) = x(t) y ( t ) and F ( t, x ) = t 2 sin(x) + e t cos(y) 2 tx + e y The equation can then be written, in vector form, x ( t ) = F ( t, x ( t )) , x (0) = 1-1 From (2) we can nd, with t = 0, x 1 = x + h * F ( t , x ) = 1-1 + t 2 sin(x ) + e t cos(y ) 2 t x + e y = cos(-1) e-1 The following screen shot shows the results obtain by calling our Mathcad implementation of Eulers method. Notice that in dening the vector-valued function F ( t, X ) , for Mathcad to know that X is an vector, in the denition, we use subscript to access the component of X , as shown in the screen shot....
View Full Document
- Spring '11