Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

NSDE Assignment 5

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Submission Date: 28.03.

2015

ASSIGNMENT - 5
Numerical Solutions of Ordinary and Partial Differential Equations

1. Find the solution of the BVP using the shooting method

x2 y ′′ − 2y + x = 0, y(2) = 0, y(3) = 0.

1
Using Taylor series method of order 2, with h = 4
to solve the resulting initial value
problems (IVPs).

2. Find the solution of the BVP

y ′′ = 2y − y ′ , y(1) = 2e + e−2 , y(2) = 2e2 + e−4

1
using shooting method. Use the Taylor series method of order 3 with h = 3
to solve
the resulting IVPs.

3. Solve the BVP using shooting method


2
y ′′ = y, y ′ (0) = 3, y ′ (1) = e + .
e
1
Use the Taylor series method of order 3 with h = 4
to solve the resulting IVPs.

4. Using shooting method solve the BVP

y ′′ = xy + 1, y(0) + y ′ (0) = 1, y(1) = 1.

1
Use Taylor series method of order 3 with h = 4
to solve the resulting IVPs.

5. Use shooting method to solve the BVP


( )
′′ 2 3 100
y = 6y , y(0) = 1, y = .
10 169
1
Use Taylor series of order 3 with h = 10
to solve the resulting IVPs and the secant
method for iteration. Take s(0) = − 95 , s = − 10
19
(1)
and perform two iterations of the
1
secant method. Compare the numerical results with the exact solutions y(x) = (1+x)2.

1/2
6. Solve the following boundary value problem using the shooting method

u′′ = 2uu′ , 0 < x < 1 u(0) = 1/2, u(1) = 0.5.

Use the Taylor series method of second order to solve the initial value problem and
Newton’s method for iteration using the initial approximation u′ (0) = s(0) = 0.09.
Assume h = 0.25 and perform one iteration.

7. Use shooting method to solve the BVP

y ′′ = (3/2)y 2 , y(0) = 1, y (1) = 4.


1
Use Runge kutta method of order 2 with h = 4
to solve the resulting IVPs and the
Newton’s method for iteration. Take s(0) = 0.9, and perform one iterations.

8. Use second order finite difference method to solve the following boundary value pro-
blems;

i. y ′′ = y + x, y(0) = 0, y(1) = 0 with (a) h = 21 , (b) h = 13 , (c) h = 41 .

ii. x2 y ′′ = 2y − x, y(2) = 0, y(3) = 0 with (a) h = 12 , (b) h = 31 .

iii. y ′′ − 3y ′ + 2y = 0, with 2y(0) − y ′ (0) = 1, y(1) + y ′ (1) = 2e + 3e2 and h = 12 .

iv. y ′′ = 2yy ′ , with y(0) = 21 , y(1) = 1 and


(0)
(a) for h = 12 , take y1 = 14 ,
(0) (0)
(b) for h = 13 , take y1 = 45 , y2 = 35 .

v. y ′′ = 32 y 2 , with y(0) = 4, y(1) = 1 and


(0)
(a) for h = 12 , take y1 = 72 ,
(0) (0)
(b) for h = 13 , take y1 = 2, y2 = 3.

Note: Taylor series method of order p


h2 ′′ hp (p)
yi+1 = yi + hyi′ + yi + · · · + yi ,
2 p!
2
′ h hp−1 (p)
yi+1 = yi′ + hyi′′ + yi′′′ + · · · + y .
2 (p − 1)! i

********end********

2/2

You might also like