ENGR 213 Midterm 2b Sol 2010
ENGR 213 Midterm 2b Sol 2010
ENGR 213 Midterm 2b Sol 2010
Exam II (B)
x2 y 00 + 3xy 0 + 5y = 0.
y 00 − 6y 0 + 9y = x, y(0) = 0, y 0 (0) = 1.
We now look for a particular solution yp to the non-homogenous ODE. We’ll use here
the method of undetermined coefficients by setting yp (x) = Ax + B. As yp (x) = A and
yp00 (x) = 0, we deduce that −6A + 9Ax + 9B = x ⇒ A = 1/9, −6A + 9B = 0 thus
x 2
B = 2A/3 = 2/27 and yp (x) = + .
9 27
Thus
x 2
ygeneral (x) = c1 e3x + c2 xe3x + + , c1,2 = constants.
9 27
We’ll now use the initial conditions to find c1,2 . As y(0) = 0, we have c1 + 2/27 =
0 ⇒ c1 = −2/27. Evaluating y 0 (x) = c1 (3e3x ) + c2 (e3x + 3xe3x ) + 1/9, thus y 0 (0) =
3c1 + c2 + 1/9 = 1, implying c2 = 10/9.
Therefore the solution of the IVP is
2 10 3x x 2
y(x) = − e3x + xe + + .
27 9 9 27
1
2
(3) (10 points) Use the variation of parameters to solve the differential equation
y 00 + y = sin2 x.
(4) (10 points) A mass weighing 64 pounds stretches a spring 0.32 foot. Determine the
equation of motion if the mass is initially released from a point 6 inches above the
equilibrium position with a downward velocity of 5 ft/s. What is the instantaneous
velocity at the first time when the mass passes through the equilibrium position?
Consequently, x(t) = − 12 cos 10t + 21 sin 10t and x0 (t) = 5 sin 10t + 5 cos 10t. To find
the time when the mass passes through the equilibrium position, set x(t) = 0. Note
that this implies tan(10t) = 1 whose first positive solution is for 10t = π/4. So
√ √
2 2 √
x0 (π/40) = 5 +5 = 5 2 ft/sec
2 2
is the answer needed.