[go: up one dir, main page]

0% found this document useful (0 votes)
27 views1 page

Lab Report Problem Exp 9

The document presents two initial value problems involving ordinary differential equations (ODEs). Problem 1 requires solving a first-order ODE with a specified initial condition and plotting the results from x = 0 to x = 2 using a step size of h = 0.01. Problem 2 involves a second-order ODE with initial conditions and requires plotting the solution from x = 0 to x = 4, also using a step size of h = 0.01.

Uploaded by

Meow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views1 page

Lab Report Problem Exp 9

The document presents two initial value problems involving ordinary differential equations (ODEs). Problem 1 requires solving a first-order ODE with a specified initial condition and plotting the results from x = 0 to x = 2 using a step size of h = 0.01. Problem 2 involves a second-order ODE with initial conditions and requires plotting the solution from x = 0 to x = 4, also using a step size of h = 0.01.

Uploaded by

Meow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Problem Statements:

Problem 1: Consider the following initial value problem:

𝑑𝑦 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.

Problem 2: Consider the following initial value problem:

𝑑 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.

You might also like