

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Instructor: J. Metcalfe
Section 2.4, # 6 y′^ = − 2 xy; y(0) = 2; , y(x) = 2e−x
2
Apply Euler’s method twice to approximate this solution on the interval [0, 12 ], first with step size h = 0.25, then with step size h = 0.1. Compare the three-decimal-place values of the two approximations at x = 12 with the value y( 12 ) of the actual solution.
Applying Euler’s method, as outlined on p. 113 and with step size h = 0.25, yields the following xi and yi values:
i xi yi 0 0 2 1 .25 2 2 .5 1.
Similarly, applying Euler’s method with step size h = 0.1 yields the following values:
i xi yi 0 0 2 1 .1 2 2 .2 1. 3 .3 1. 4 .4 1. 5 .5 1.
Computing y( 12 ) of the actual solution, we get y( 12 ) = 2e−^ 122 = 1.558. From our tables above, we can see that using Euler’s method with the step size h = .25 gave us the approximation y( 12 ) ≈ 1 .75, and using Euler’s method with the step size h =. 1 gave us the approximation y( 12 ) ≈ 1 .627. The smaller step size gave us a more accurate answer.
Section 2.5, # 10
y = 2xy^2 , y(0) = 1, y(x) =
1 − x^2 Apply the improved Euler method to approximate this solution on the interval [0, 0 .5] with step size h = 0.1. Construct a table showing four-decimal-place values of the approximate solution and actual solution at the points x = 0. 1 , 0. 2 , 0. 3 , 0. 4 , 0 .5.
For each n, we compute values k 1 , un+1, k 2 and yn+1. The formulas are given in the algorithm on p. 127. The values we obtain are as follows: n k 1 un+1 k 2 yn+ 0 0 1 0.2 1. 1 0.20402 1.0304 0.4247 1. 2 0.4338 1.0848 0.7061 1. 3 0.7238 1.1707 1.0964 1. 4 1.1315 1.3025 1.6965 1.
Computing the actual values of y(x) for x = 0. 1 , 0. 2 , 0. 3 , 0. 4 , 0 .5, we obtain the table:
x approximate solution actual solution 0.1 1.01 1. 0.2 1.0414 1. 0.3 1.0984 1. 0.4 1.1894 1. 0.5 1.3308 1.
Section 7.1, # 6 Find the Laplace transform of f (t) = sin^2 t.
Following the definition on p. 442, we have:
F (s) = L{sin^2 t} =
0
e−stsin^2 t dt . Using the substitution sin^2 t = 1 −cos 2 (2t), we obtain:
L{sin^2 t} =
0
e−st^ dt −
0
e−stcos(2t) dt
Integrating by parts, using the substitution u = e−st, v = 12 sin(2t), yields:
1 2
0
e−stcos(2t) dt =
e−stsin 2 t −
0
−s 2
e−stsin(2t) dt
Applying integration by parts again, using the substitution u = e−st, v = − 12 cos(2t), we get:
∫ (^) ∞
0
e−stcos(2t) dt =
e−stsin 2 t −
s 4 e−stcos(2t) −
s^2 4
0
e−stcost(2t) dt
And so: ∫ (^) ∞
0
e−stcos(2t) dt =
4 + s^2 e−st(sin(2t) −
s 2 cos(2t))|∞ 0 =
s 4 + s^2 . Thus, L(sin^2 t) = (^21) s − (^12) 4+^ ss 2 = (^) s(4+^2 s (^2) ).