Docsity

Problem Set 1 with Solutions | Numerical Methods for Differential Equations | MATH 4820, Assignments of Differential Equations

Toggle sidebar
bg1
Math 4820
D. Schwendeman Problem Set 1
Due:
Thursday, 2/4/10
1. Find the general solution of the following ODEs
(a) ty0+ 2y= sin t, t > 0
(b) y00 +y0+y=t+ cos t
(c) 2t2y00 + 3ty0−y= 0, t > 0 (Hint: consider y(t) = tα,α= constant.)
(d) y0="1 1
4 1 #y
2. (a) Consider the initial-value problem
y0−3
2y= 3t+ 2et,0≤t < ∞, y(0) = α
Find the solution for a given αand determine the value of αthat separates solutions that
positively as t→ ∞ from those that grow negatively.
(b) Consider the initial-value problem
y0="−2 1
−5 4 #y,0≤t < ∞,y(0) = "3
3#
Find the solution and describe its behavior as t→ ∞. Is the problem stable?
3. Consider the initial-value problem
t2y00 −4ty0+ 5y= sin 2t+et,2≤t≤5, y(2) = 0, y0(2) = 1
Write the second-order ODE as a system of two first-order ODEs, and show that the IVP
is well-posed. (Hint: show that f(t, y) satisfied a Lipschitz condition on the variable y.)
4. Consider the mass-spring problem
y00 +1
2y0+ 2y= 0,0≤t≤5, y(0) = 0, y0(0) = 2
(a) Find the exact solution.
(b) Write the second-order ODE as a system of two first-order ODEs and solve the resulting
IVP using Euler’s method with a step size h= 5/N, where N= 100, 200 and 400. Plot
the first component of the numerical solution versus y(t) on the same graph for each choice
of N. Compute the maximum error between the numerical solution and the exact solution
for each N. How does the error behave as Nincreases?
pf3
pf4

Partial preview of the text

Download Problem Set 1 with Solutions | Numerical Methods for Differential Equations | MATH 4820 and more Assignments Differential Equations in PDF only on Docsity!

Math 4820

D. Schwendeman Problem Set 1

Due: Thursday, 2/4/

  1. Find the general solution of the following ODEs

(a) ty′^ + 2y = sin t, t > 0 (b) y′′^ + y′^ + y = t + cos t (c) 2 t^2 y′′^ + 3ty′^ − y = 0, t > 0 (Hint: consider y(t) = tα, α = constant.)

(d) y′^ =

[ 1 1 4 1

] y

  1. (a) Consider the initial-value problem

y′^ −

y = 3t + 2et, 0 ≤ t < ∞, y(0) = α

Find the solution for a given α and determine the value of α that separates solutions that positively as t → ∞ from those that grow negatively.

(b) Consider the initial-value problem

y′^ =

[ − 2 1 − 5 4

] y, 0 ≤ t < ∞, y(0) =

[ 3 3

]

Find the solution and describe its behavior as t → ∞. Is the problem stable?

  1. Consider the initial-value problem

t^2 y′′^ − 4 ty′^ + 5y = sin 2t + et, 2 ≤ t ≤ 5 , y(2) = 0, y′(2) = 1

Write the second-order ODE as a system of two first-order ODEs, and show that the IVP is well-posed. (Hint: show that f (t, y) satisfied a Lipschitz condition on the variable y.)

  1. Consider the mass-spring problem

y′′^ +

y′^ + 2y = 0, 0 ≤ t ≤ 5 , y(0) = 0, y′(0) = 2

(a) Find the exact solution.

(b) Write the second-order ODE as a system of two first-order ODEs and solve the resulting IVP using Euler’s method with a step size h = 5/N , where N = 100, 200 and 400. Plot the first component of the numerical solution versus y(t) on the same graph for each choice of N. Compute the maximum error between the numerical solution and the exact solution for each N. How does the error behave as N increases?