betsymccall.net · web viewestimate the solution of the ode y ' = x 2/3 + y 2/3 , y 0 =1 using...

21
MAT 212, Final Exam, Summer 2016 Name ______________________________________________ Instructions: Show all work. Answers without work required to obtain the solution will not receive full credit. Some questions may contain multiple parts: be sure to answer all of them. Give exact answers unless specifically asked to estimate. 1. Estimate the solution of the ODE y ' =x 2/ 3 +y 2/ 3 ,y ( 0 )=1 using Δt=0.2 with the indicated method and number of steps. a. Euler’s method, 3 steps (8 points) b. Improved Euler’s, 3 steps (8 points) c. Runge-Kutta, 1 step (8 points)

Upload: others

Post on 04-Mar-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

MAT 212, Final Exam, Summer 2016 Name ______________________________________________

Instructions: Show all work. Answers without work required to obtain the solution will not receive full credit. Some questions may contain multiple parts: be sure to answer all of them. Give exact answers unless specifically asked to estimate.

1. Estimate the solution of the ODE y '=x2/3+ y2/ 3 , y (0 )=1 using Δt=0.2 with the indicated method and number of steps.a. Euler’s method, 3 steps (8 points)

b. Improved Euler’s, 3 steps (8 points)

c. Runge-Kutta, 1 step (8 points)

Page 2: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

2. Three 100 gallon fermentation vats are connected as shown.

(Tank 1 feeds into Tank 2; Tank 2 feeds into Tank 3; Tank 3 feeds back into Tank 1.)If the mixture is well-stirred and circulates between the tanks at the rate of 10 gal/min, derive the set of equations to model the system. (You don’t need to solve.) (8 points)

3. Rewrite y ' ' '+2 y ' '+ y '+ y=1+t et as a system of first order equations. (You don’t need to solve.) (8 points)

Page 3: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

4. Set up the spring problem shown below as a system of equations. (You don’t need to solve.)(10 points)

5. Solve x⃗ '=( 1 9−2 −5) x⃗. Write the general solution (with real terms only). Plot several sample

trajectories. (10 points)

Page 4: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

6. Find the general solution to the system t x⃗ '=(−1 −12 −1) x⃗ . Write the fundamental solution

matrix. (8 points)

7. Verify that Ψ=( 3e−2 t e t e3 t

−2e−2 t −e t −e3 t

2e−2 t e t 0 ) is a solution to x⃗ '=(−8 −11 −26 9 2

−6 −6 1 ) x⃗. Does the

solution represent a fundamental set? (8 points)

Page 5: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

8. For each set of solution curves shown below, match the graphs with proposed solutions and characterize the system as containing a stable vector/orbit, origin attracts, origin repels, origin is a saddle point. (12 points)

a. d.

b. e.

c. f.

i. x⃗ (t )=c1(2cos tsin t )+c2(−sin tcos t )ii. x⃗ (t )=c1 e

−t(3cos t+sin t2sin t )+c2e−t (−3 sin t+cost−2cos t )iii. x⃗ (t )=c1(21)e−t+c2(12)e2 tiv. x⃗ (t )=c1(−11 )+c2(14)e−2t

Page 6: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

v. x⃗ (t )=c1(−11 )e3 t+c2(32)e2 tvi. x⃗ (t )=c1(11)e−t+c2( 1−2)e−3 t

9. The fundamental solution matrix to the system x⃗ '=(2 −51 −2) x⃗ is

Ψ=(cos t+2sin t −5sin tsin t cos t−2sin t). Use this fact to solve the system x⃗ '=(2 −5

1 −2) x⃗+(4 cos t6 sin t ). Recall that x⃗ p=Ψ∫Ψ−1 f (t ) dt or use the method of undetermined coefficients. (10 points)

10. Use the table of Laplace transforms to find the transforms of the following functions. (3 points each)a. t 2e t

Page 7: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

b. u3 (t )=u(t−3)

c. ∫0

t

(t−τ )3 sin τ dτ

11. Use the table of Laplace transforms to find the inverse Laplace transform of the following function. (3 points each)

a.2 s−4s2+9

b.1s7

c.e−2 s ( s−2 )

(s−2 )2+16

Page 8: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

d.1

s2 ( s2−1 )

12. Write the function f (t )={ 0 ,t<0t ,0≤ t<πsin t , t ≥ π

in terms of the unit step function. (5 points)

13. Use Laplace transforms to solve the IVP y ' '+2 y '+2 y=cos t , y (0 )=1, y ' (0 )=2. (10 points)

Page 9: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

14. For each equation, identify any singular points and classify them as regular or irregular. (5 points each)a. 3 x2 y ' '+2 x y '+(1−x )2 y=0

b. x2 y ' '+ (x−x3 ) y '+ (cos x ) y=0

15. Use series solution methods to find the solution to ( x−2 ) y ' '+4 xy=0. State at least 4 terms of each solution (unless it is finite). Be sure that you find two solutions. (12 points)

Page 10: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

16. Find the general solution to the ODEs using the characteristic (or auxiliary) equation. (8 points each)

a. y ' '+ 23y '+ 19y=0

b. y ' '+ y=0

Page 11: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

17. The table below gives the solution to the second order constant coefficient homogeneous equation, and the forcing function. Determine the Ansatz for the method of undetermined coefficients in each case. (3 points each)

y1 y2 y3 g(t ) Ansatza.

e t t et 1 12 t+e t

b. sin 3 t cos3 t e−t sin t

c. 1 x ex x3

d.e−t sin 2 t e−t cos2 t NA 7cos2 t

18. An electrical circuit has an inductance of L=10H and a capacitance of C=0.02 F. Find the resistance on the circuit (in ohms) needed to achieve critical damping. (8 points)

19. Sketch the slope field for the autonomous equation y '= y ( y+1 )2 ( y−3 ). Label each equilibrium and classify it as stable, semi-stable or unstable. Are any of them a carrying capacity or threshold? Draw the phase plane. (10 points)

Direction Field

Page 12: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

Phase Plane

20. Sketch the region in the plane where a solution to the ODE dydt

=√ y2+t 2 is guaranteed to exist. Be sure to check all

conditions and show your work. (6 points)

21. Classify each differential equation as i) linear or nonlinear, ii) ordinary or partial, iii) its order. (3 points each)

a.d4 yd x4

= y cos x

b. uxy+uxx=eu tan x sec y

Page 13: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

22. A 500L tank initially contains only pure water. A hose begins adding to the tank at a rate of 5L/min with a concentration of iodine salt of 50g/L. The well-mixed solution flows out of the tank at a rate of 5L/min. Find an equation that models the amount of iodine in the tank after time t . Find the maximum amount of iodine in the tank (if one exists). (8 points)

23. For each of the direction fields shown below, match the field to the differential equation that produced it. (12 points)

a. d.

b. e.

Page 14: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

c. f.

i. y '= t 3

y2

ii. y '= ty√ t2+ y2−2

iii. y '=−( y+1 ) ( y−2 )iv. y '=−√t+ y2v. y '=(cos t )(sin y )

vi. y '= y2−t 2

ty

24. Use the method of integrating factors to find the particular solution for x y '=2 y+x4 e− x, y (ln 2 )=0. (8 points)

Page 15: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8
Page 16: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8
Page 17: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8
Page 18: betsymccall.net · Web viewEstimate the solution of the ODE y ' = x 2/3 + y 2/3 , y 0 =1 using Δ t=0.2 with the indicated method and number of steps.Euler’s method, 3 steps (8

Numerical Solutions Formula Sheet

Euler’s yn+1= yn+Δt f (t n , yn )

Error in Euler’ ¿ yn− y (t n )∨≤C Δt

Improved Euler’s k1=f (t n , yn )un+1= yn+Δt k1k 2=f (t n+1 , un+1 )yn+1= yn+

12Δt (k1+k2 )

Error in Improved Euler’s ¿ y (t n)− yn∨≤C Δt2

Runge-Kutta yn+1= yn+h( k n1+2kn2+2 kn3+kn46 ) k n1=f (t n , yn )

k n2=f ( tn+ 12 h , yn+12 hkn1) k n3=f ( tn+ 12 h , yn+12 hkn2) k n4=f (tn+h , yn+hk n3 )

Error in Runge-Kutta ¿ y (t n)− yn∨≤C Δt4