chapter5.page10

chapter5.page10 - t 3 )-1 10 sin( t 3 ) + 3 10 e 1 10 t 3 ,...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
10 1. NUMERICAL METHODS FOR ORDINARY DIFFERENTIAL EQUATIONS Figure 5. Mathcad code for Euler’s Method The next screen shot shows a call to the myRungeKutta and tMesh for the equation x 0 = t 2 x + t 2 sin ( t 3 ). It also shows the graph of approx- imate solution comparing with the exact solution x ( t ) = - 3 10 cos(
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: t 3 )-1 10 sin( t 3 ) + 3 10 e 1 10 t 3 , and with the approximate solution using Eulers method. In this case Runge-Kutta provides much superior result, an almost exact match! Figure 6. Mathcad Runge-Kuttas Approximation to x = t 2 x + t 2 sin ( t 3 )...
View Full Document

This note was uploaded on 10/04/2011 for the course MAP 4231 taught by Professor Dr.han during the Spring '11 term at UNF.

Ask a homework question - tutors are online