
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Project; Professor: Long; Class: Higher Mathematics for Engineers and Scientists I: Honors; Subject: MATHEMATICS; University: Texas Tech University; Term: Spring 2008;
Typology: Study Guides, Projects, Research
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Computational Project 1, Math 3350 Dr. Kevin Long DUE Monday, 11 Feb
In this project you will compute approximate solutions for several initial value problems using both Eulerâs method and the improved Eulerâs method. Youâll then compare your approximate solutions to exact solutions, and measure how the error depends on the step size.
For each of the four problems
dy dx
= âαy, y(0) = 1, α =
dy dx = y sin x, y(0) = 2
dy dx
= ÎČy^2 cos x, y(0) =
, ÎČ =
dy dx
= âαy + sin x, y(0) = 0, α =
do the following steps.
(a) Plot on a single figure the exact solution and the four approximate numerical solutions to this problem. Use different symbols for each. Use the Matlab legend function to show the association between graphical symbols and number of steps. (b) Compute the error |yexact â ynum| at the end point x = 2Ï for each approximate solution. (c) Assuming the error varies as hp, estimate the order of accuracy p from your results.
Suppose that design specifications require your simulations to be accurate to 10 â^5 at the final step. Using your results, estimate the number of Euler steps and improved Euler steps needed to reach that accuracy for this problem. Estimate the cost difference (measured in number of RHS function evaluations) for using one method over the other. Which method would you recommend using? Document this work with a written report. Please refer to the web page for guidelines on writing your report and an example of a project report.