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

KWAME NKRUMAH UNIVERSITY OF SCIENCE AND TECHNOLOGY

COLLEGE OF SCIENCE
FACULTY OF PHYSICAL SCIENCE
DEPARTMENT OF COMPUTER SCIENCE
CSM 258: NUMERICAL METHODS AND COMPUTATIONS

Homework Assignment 3
To be submitted to the TA in hardcopy on/before 5:00 pm of 17/07/2023

Computations of trigonometric functions should be done in radians.

1. Given that
1 dy
= (51 − A) exp(x); y(0.4) = 0.7
sin(y) dx
Solve this differential equation at x = 1.0 using the fourth-order Runge-Kutta as a predictor
method and the third-order Milne-Simpson as a corrector method. Take ϵ = 0.001 and
h = 0.2.

2. Given that
y ′ (x) − xy − y 2 = A; y(0.7) = 0.3, x ∈ [0.5, 4]
Evaluate y(2.8) and y(3.5) using Adams-Bashforth-Moulton predictor-corrector method of
fourth-order. Compute your initial approximations using the modified Euler method with
the step size h = 0.7. Perform two corrector iterations.

Note: Each group is to replace the value of A with their respective group number.

You might also like