|
Exam 3 Answers1. (Section 4.3, problem 13) y''' - 2y'' + y' = t3 + 2et The particular solution has the form
Without knowing the answer, we know that Y1 and Y2 must have the forms
First, we will determine Y1(t). A quick inspection of L[Y1] shows that there is no t3 term to match when s = 0. Hence, s > 0. Trying s = 1 gives us
This is promising. We get
We need to match the t3 term (which gives us A0 = 1) and then eliminate the rest of the coefficients. We do this from left to right, term by term in the polynomial:
Now consider Y2(t). When r < 2, we have L[Y2](t)=0 (r = 0 is obvious, but r = 1 is a little less obvious). For r = 2 we get
Finally, Y(t) = Y1(t) + Y2(t) by Theorem 3.2.2. Points off: -20 for no explanation, -5 for a wrong explanation for either the t3 or the 2et terms. 2. Solve y''' + y' = 0, y(0) = 1, y'(0) = 1, y''(0) = 2. The roots of the characteristic r3 + r = r(r2 + 1) = 0 are r = 0 and r = +i. Thus,
(the c1 term actually multiplies e0t = 1). By noting that cos(0) = 1 and that sin(0) = 0, we must solve the 3x3 system of linear equations where the right hand sides are from the initial conditions. Hence, c3 = 1, c2 = -2, and c1 = 2. Points off: -10 for the wrong general solution and no constants and -5 for either the wrong general solution or the wrong constants for your general solution. 3. y' = et + t, y(0) = 1. First we need to determine the solution, which is just the integral of et + t (note that there is no y dependence to make this hard). Hence, y(t) = et + t2/2. Next we need to compute a table.
Just by inspection, we see that the Runge-Kutta method is the most accurate numerical method for this problem. We can actually quantify this by looking at the 2-norm of the difference between the exact solution at the mesh points and the computed values. Specifically, if we define
then we can determine the 2-norms: Points off: -5 for missing the exact solution, each missing method, missing the best method, -2 for the wrong best method (you had to have an argument for one), wrong numerical values for the exact solution or each of the methods, and -1 each for not having a table that went far enough on the number line. |
|
Cheers, Last modified: |