Lab Report Problem Exp 9
Lab Report Problem Exp 9
𝑑𝑦 2
+ 2(𝑥 − 2)𝑒 −(𝑥−2) = 0, 𝑦(0) = 𝑒 −4
𝑑𝑥
Solve the ODE in the range x = 0 to x = 2. Use step size, h = 0.01. Plot y vs. x.
𝑑 2 𝑦 𝑑𝑦
= + [cos(𝜋𝑥) − 𝜋 sin(𝜋𝑥)] 𝜋𝑒 𝑥 , 𝑦(0) = 0, 𝑦 ′ (0) = 𝜋
𝑑𝑥 2 𝑑𝑥
Solve the ODE in the range x = 0 to x = 4. Use step size, h = 0.01. Plot y vs. x.