ASSIGNMENT - V (Numerical Differentiation and Integration + Matrices and System of Linear Equations) Course: MCSC 202
ASSIGNMENT - V (Numerical Differentiation and Integration + Matrices and System of Linear Equations) Course: MCSC 202
——————————————————————————————————————————–
x
0.1 0.2 0.3 0.4
f(x)
1.10517 1.22140 1.34986 1.49182
h i h 2 i
dy d y
Problem 2 Write the expression for dx and dx 2 due to Stirling. Use these expressions to
x=x0 x=x0
find the first derivative and second derivative at the point x = 1 from the following table for the function
y = sinx. Also determine the error.
x 0.7 0.8 0.9 1.0 1.1 1.2 1.3
f(x) .644218 .717356 .783327 .841471 .891207 .932039 .963558
Problem 3 The distances travelled by a rocket at different times are as given below:
t 0 1 2 3 4 5
s 0 3 7 15 38 50
Extimate the rocket’s velocity and acceleration for each value of t.
Problem 4 Calculate the first and second derivatives of lnx at x = 500.
x 500 510 520 530 540 550
lnx 6.214608 0.234411 6.253829 6.272877 6.291569 6.309918
Also determine the error.
Problem 5 Derive Trapezoidal rule, Simpson’s 1/3 rule and Simpson’s 3/8 rule for the numerical inte-
Rb R3
gration of a f (x)dx. Estimate the value of the integral 1 x1 dx using appropriate Simpson’s rule with 4
strips and 8 strips. Determine the error by direct integration.
Problem 6 The velocity v(km/min) of a train with initial velocity 1 km/hr is given at fixed intervals of
time t in minutes as follows:
t 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0
v 1.0 1.2 1.4 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0
Estimate approximately the distance covered by a train in 1.0 minute by Trapezoidal and Simpson’s 1/3
rules.
R1 2
Problem 7 Evaluate 0 e−x dx by Trapezoidal and Simpson’s 1/3 rules.
R 3.2 R 2.6 1
Problem 8 Find the value of the double integral 2 1 x+y dydx using Trapezoidal and Simpson rule.
Aslo determine the error.
R1 R2
Problem 9 Evaluate the double integral 0 1 (1+x22xy )(1+y 2 ) dy dx using (i) the trapezoidal rule with h =
k = 0.25 (ii) the simpson’s 1/3-rule with h = k = 0.25. Compare the results obtained with the exact
solution.
Problem 10 Solve the system, correct to 3 decimal places, of the system 27x+6y−z = 85, 6x+15y+2z =
72, x + y + 54z = 110 using Jacobi and Gauss-Seidel methods. Also solve the system by LU decomposition
method taking (a)lii = 1 for all i and (b)uii = 1 for all i.
Problem 11 Solve the system 2x1 − x2 = 1, −x1 + 2x2 − x3 = 0, −x2 + 2x3 − x4 = 0, −x3 + 2x4 = 1 by
Thomas algorithm method and LU decomposition method with (a)lii = 1 for all i and (b)uii = 1 for all i.