This preview shows page 1. Sign up to view the full content.
Unformatted text preview: function. Note that to have access to this plotting function, you will ﬁrst have to load the appropriate Mathematica graphics package by executing the command <<Graphics ` ImplicitPlot `. For a demonstration of using this function, look under ImplicitPlot in the Master Index under the Help menu in Mathematica . 2. Using Mathematica , implement Euler’s method to numerically solve: dy dx = 3 xy, y (0) = 1 over the x interval (0 , 2). In your ﬁrst attempt, use a step size of h = 0 . 2. The ﬁnd the solution again using a step size half as large. Compare your numerical solutions with a solution obtained using NDSolve by overlaying the three solutions on the same plot. Refer to Demo 4 on the class web site for guidance in solving this problem....
View
Full
Document
This note was uploaded on 12/29/2011 for the course ENGR 5a taught by Professor Brewer during the Fall '09 term at UCSB.
 Fall '09
 brewer
 Chemical Engineering

Click to edit the document details