

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: Assignment; Class: NUMERICAL METHODS; Subject: MATHEMATICS; University: Texas A&M University; Term: Unknown 1989;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Instructors: Prof. Wolfgang Bangerth, Prof. Guido Kanschat [email protected], [email protected] Teaching Assistants: Seungil Kim, Yan Li [email protected], [email protected]
Problem 1 (Numerical solution of a ODE). Consider the following scalar ordinary differential equation (ODE):
x′(t) =
x(t), x(0) = 1.
The solution of this equation is x(t) = e
(^12) t
. Compute approximations to x(4) using the
each with step sizes h = 2, 1 , 12 , 14 ,... , 321. Compute their respective errors e = |xN − x(4)| where xN is the approximation to x(4) at the end of the last time step, and compute the convergence rates. Compare the accuracy of all these methods for the same step size h. (8 points)
Problem 2 (Numerical solution of a vector-valued ODE). A rocket that is shot up vertically experience upward acceleration from its engines, and downward acceleration due to gravity. Its height therefore satisfies Newton’s law
d′′(t) =
F (t) m(t)
where d(t) denotes the distance from the earth’s center. Assume that the rocket is initially at rest at d(0) = 6371000. After ignition, the engines produce a constant thrust for 10 minutes before shutting down:
T (t) =
12 for t < 600, 0 for t ≥ 600.
On the other hand, gravity generates the force
G(t) = −(6371000)^2
10 m(t) d(t)^2
The total force is F (t) = T (t) + G(t). The mass of the rocket decreases while fuel is burnt in the engines according to
m(t) =
1 − 0600.^9 t for t < 600,
Rewrite this second order ordinary differential equation as a system of two first order equations. Then numerically approximate the altitude of the rocket for times between t = 0 and t = 36000 using the explicit Euler method. Try to determine the altitude at t = 36000 up to an accuracy of 1000 meters.
(5 points)
Problem 3 (A modeling challenge). This problem is meant as a bonus question. If you feel bored sitting around the table with your family during Thanksgiving, do what mathematicians typically do on such occasions: scribble solution attempts to questions like this on napkins or the back of envelopes. The problem has two parts: a theoretical part that you can do on the napkin (avoid the linen napkins handed down for generations!), and a practical part where you have to implement your model on a computer. In order to comply with rules on animal experiments, we discourage experimental verification of the model. It won’t work with a broiled turkey anyway. Here’s the theoretical problem: Thanksgiving turkeys aren’t particularly good at flying. They may try, but they don’t really get into the air very grace- fully and for extended periods of time. Derive an ODE model for turkey flight that takes into account the following rules (all quantities have units meter, meter per second, etc, as appropriate):
a) the turkey is initially at rest;
b) it then runs horizontally, accelerating at a modest rate of 1.5;
c) when it reaches the lift-off speed of v = 8 it gets airborne; from thereon, its vertical (upward) acceleration is −4 + v (in other words, the initial upward acceleration after getting airborne is 4); at the same time, air friction reduces the horizontal velocity by a deceleration of −v^2 /10;
d) at some point, the turkey’s speed will become too slow to sustain flight, its vertical velocity will become negative, and it will eventually fall back to earth.
To write an ODE model for this, you will have to use the following variables: x(t)–horizontal distance from the starting point; v(t)–horizontal velocity; h(t)– height above ground; u(t)–vertical velocity.