You are on page 1of 1

Assignment 2

Use the 5 iterations of the Spectral Quasi-Linearisation Method (SQLM) to solve the following nonlinear
BVPs subject to the given boundary conditions and compute the error of the infinity norm using N =
5, 10, 20, 30, 50.

1.
y ′′ + 6y − 2y 3 = −2x3 , x ∈ [1, 2]
5
y(1) = 2, y(2) =
2
1
The exact solution is y(x) = x +
x
2.
32 + 2x3 − yy ′
y ′′ = , x ∈ [1, 3]
8
43
y(1) = 17, y(3) =
3
16
The exact solution is y(x) = x2 +
x
3.
y ′′ = y 3 − yy ′ , x ∈ [1, 2]
1 1
y(1) = , y(2) =
2 3
1
The exact solution is y(x) =
x+1
4.
y ′′ = −e−2y , x ∈ [1, 2]
y(1) = 0, y(2) = ln 2

The exact solution is y(x) = ln x


5.
y ′′ = y ′ cos x − y ln y, x ∈ [0, π/2]
y(0) = 1, y(π/2) = e

The exact solution is y(x) = esin x

You might also like