Beruflich Dokumente
Kultur Dokumente
(4 Marks)
(5 Marks)
16
128
e) Use Simpsons rule with 8 intervals to evaluate 132xdx correct to 3 decimal places. (5 Marks)
f) Use Eulers method to obtain a numerical solution of the differential equation 1xdydx+2y=1 given that x=0 y=1, in the range x=00.250.5. Marks) g) Using Newton-Raphson formula, establish the iterative formula xn+1=12xn+Nxn to calculate the square root of N. Compute 26 using two iterations of the formula. Marks)
(5
(6
b) Using Rombergs formula, prove that 01.211+xdx=0.7883 (correct to four decimal places) (10 marks) c) Use stirlings formula to find dydx at x=2.8 using the table Marks) x 1 2 3 4 5
(3
fx
1.4
3.3
5.6
8.1
where dydx=1h12y0+y-1+s2y-1+3s2-1123y-1+3y-2+2s3-s124y-2+
(4 Marks)
(6 Marks)
1.000
1.2214
1.4918
1.8221
2.255
b) Tabulate by Milnes predictor-corrector method the numerical solution of dydx=x+y with initial conditions x0=0, y0=1 from x=0.20 to x=0.30 with y1=1.1026, y2=1.2104, y3=1.3237.
(10 Marks)
(5 Marks)
3.873
4.123
4.359
4.583
4.796
5.000
b) Given dydx=1+xy with the initial condition that y=1, x=0, compute y0.1 correct to four decimal places by using the Taylor series method. (7 Marks) c) Solve x3-12.2x2+7.45x+42=0 by Newtons second order method, taking x0=12. (8 Marks)
a) Using Lagrange interpolation formula, find the value of y corresponding to x=10 from the table below. x y=fx (4 Marks)
11
12
13
14
16
b) Evaluate 01211+x2dx using Trapezoidal rule with n=6 correct to six significant figures. Compare with the exact value. (6 Marks) c) Apply the Improved Euler method to solve the differential equation dydx=y-2x in the range 00.10.3 given the initial conditions that ax x=0, y=2.
(10 Marks)