Handout and Home AssignmentMCA2018BATCH2NDSEM
Handout and Home AssignmentMCA2018BATCH2NDSEM
Department of Mathematics
Course Hand out for MCA, 2ND (Spring) Semester, 2018 Batch, Session: 2018-19
Course No.: MH 32102, Course Title.: Computer oriented numerical techniques. Credit: 4
---------------------------------------------------------------------------------------------------------------------------------------
Course Description
Unit : 1
Representation of numbers: Floating point representation of numbers, Floating point arithmetic operations,
normalization, pitfalls of floating point representation, error in numerical computation. Iterative methods: Zeros of
algebraic and transcendental equations using Bisection method, Iteration method, Regula-Falsi method, Newton-Raphson
Method. Rate of convergence of iterative methods.
Unit : 2
Simultaneous Linear Equations: Solution of System of Linear Equations, Gauss elimination method and pivoting strategy,
Ill-conditioned system of equations, Refinement of solution, Gauss-Seidel iterative method, Rate of convergence.
Unit: 3
Interpolation and Approximation: Finite differences, Forward, Backward and Central difference tables. Polynomial
interpolation: Newton Forward and Backward difference interpolations. Central difference formulae: Gauss Forward and
Backward formula. Interpolation with unequal intervals: Lagrange’s interpolations, Newton Divided difference
interpolation. Linear, Quadratic and Cubic-Spline interpolation.
Unit: 4
Least square approximation: Least square approximation by polynomials and non-linear curves, Orthogonal polynomials,
Gram-Schmidt orthogonalization process, Approximations of functions by Chebyshev polynomials.
Unit: 5
Numerical differentiation and integration: Numerical differentiation, Numerical Integration: Quadrature formula,
Trapezoidal rule, Simpson’s rules.
Unit: 6
Numerical solution of ordinary differential equations: Taylor’s series method, Euler’s method, Predictor Corrector
method, Runge - Kutta second and fourth order methods.
Scope
Objective
• At the end of this course, the students will be able to understand the importance and
effectiveness of computer oriented numerical methods.
• At the end of this course, the students will be able to apply the Numerical Techniques,
effectively, in solving various kind of scientific problems.
Text Books
T1: Jain, M.K., Iyengar, S.R.K. and Jain, R.K., “Numerical Methods for Scientific and
Engineering Computation”, 6th Edition, New Age International (P) limited, Publishers,
New Delhi, 2012.
T2: Grewal, B.S. and Grewal, J.S., “Numerical Methods in Engineering and Science with
Programs in Fortran 77, C & C++ “, 10th Edition, Khanna Publishers, Delhi, 2014.
Reference Books
16-24 Polynomial Finite differences, Forward, Backward and Central difference 4(T1),
Interpolation tables. Newton Forward and Backward difference interpolations. 6-7(T2)
Central difference interpolation formulae: Gauss Forward and
Backward formula. Interpolation with unequal intervals:
Lagrange’s interpolations, Newton Divided difference
interpolation. Linear, Quadratic and Cubic-Spline interpolation.
25-31 Least square Least square approximation by polynomials and non-linear curves, 4(T1),5(T2)
approximation Orthogonal polynomials, Gram-Schmidt orthogonalization process,
Approximations of functions by Chebyshev polynomials
32-37 Numerical Numerical differentiation, Maxima and Minima of tabulated 5(T1),
differentiation and functions. Newton-Cotes Quadrature formula, Trapezoidal rule, 8(T2)
Integration Simpsons 1/3 rule, Simpson 3/8 rule and their error estimations.
38-44 Numerical solution of Taylor’s series method, Euler’s method, Predictor Corrector 6(T1),
ordinary differential method, Runge-Kutta second and fourth order methods, Stability 10(T2),
equations of numerical methods.
Evaluation Scheme
Notices: All notices regarding the course will be displayed only on the Department of the Mathematics notice board.
Instructor In-charge
MH 32102
NATIONAL INSTITUTE OF TECHNOLOGY, JAMSHEDPUR, JHARKHAND-831014
Department of Mathematics
HOME ASSIGNMENT for MCA, 2ND (Spring) Semester, 2018 Batch, Session: 2018-19
Course No.: MH 32102, Course Title.: Computer oriented numerical techniques. Credit: 4
1 0 7 8 7 x1 32.
7 x
1 − 2 x1 2.1 5 6 4 2 = 23
(i) − 0.99 1.99 x 6.2
= (ii)
8 6 10 9 x3 33
2
7 5 9 10 x 4 31
2 1 x1 2.
(iii) 2.01 1 x = 2.05
2
16. Show that the following system of equations is ill-conditioned for computing the point of
intersection when m1 and m2 are nearly equal. y = m1 x + c1 ; y = m2 x + c 2 .
17. Compute the difference of square roots of two numbers x = 497.0 and x = 496.0 .
Suggest an another approach by rearranging the terms to improve the result.
18. Explain the computational methods for estimation of the error associated with the final result.
19. Using Newton-Raphson method, find the root of the following equations correct
to three decimal places:
i) x sinx + cosx = 0 ii) ex = x3 + cos25x iii) logx –x +3=0 iv) 3x3 -9x2 +8=0
20. Find the iterative formulae for finding √N, (N)1/3 where N is a real number, using Newton-Raphson formula.
Hence evaluate: (a) √32 (b) (41)1/3 to four places of decimal.
21. Evaluate the following using Newton-Raphson method:
i) 1/18 ii) 1/√15 iii) 28-1/4
22. Define the Rate of convergence of iterative procedures and find the Rate of convergence of
Bisection method, Fixed point iteration method, Regula-falsi method, Newton-Raphson method and
Secant method.
23. Show that the Regula-Falsi and Fixed-point iteration methods are linearly convergent methods.
24. Using Bisection method, Regula-falsi method, Secant method and Fixed point iteration method,
find the real root of the following equations correct to three decimal places:
i) x sinx + cosx=0 ii) ex = x3 + cos25x iii) logx –x +3=0 iv) 3x3 -9x2 +8=0
25. (i) Solve the following system of equations by (i) Gaussian elimination method and (ii) Gauss Seidel method
respectively.
(a) 2 x − 6 y + 8 z = 24; 5 x + 4 y − 3 z = 2 ; 3 x + y + 2 z = 16
(b) x + y + z = 1; 4 x + 3 y − z = 6 ; 3 x + 5 y + 3 z = 4
(c) 5 x − 2 y + z = 4; 7 x + y − 5 z = 8 ; 3 x + 7 y + 4 z = 10
(d) 3 x + 2 y + 4 z = 7; 2 x + y − 2 z = 7 ; x + 3 y + 5 z = 2
29. Evaluate :
(i) ∆4[(1-x)(1-2x)(1-3x)(1-4x)],(h=1), (ii) ∆10 [(1-x)(1-2x2)(1-3x3)(1-4x4)], (h=2),
where h is the interval of differencing.
30. Express 3x4-4x3+6x2+2x+1 as a factorial polynomial and find differences of all orders.
31. Obtain the function whose first difference is 2x3+3x2-5x+4.
32. Find the missing values in the following table:
X 0 5 10 15 20 25
Y 6 10 -- 17 -- 31
34. Derive Lagrange’s interpolation formula and hence find the unique polynomial of degree 3 or less, such that
f (0) = 1, f (1) = 3, f (3) = 55, f (5) = −10.
35. Using Lagrange’s interpolation formula, express the function (x2 + 6x-1)/((x2 -1)(x-4)(x-6)) as a sum of partial
fractions.
38. Using Lagrange’s inverse interpolation formula, find the root of the equation f(x)=0 , given that
f(30)= -30, f(34)= -13, f(38)= 3 and f(42)= -18.
39. Derive Newton divided interpolation formula and find the value of f(27) , given that
f(20)= 0, f(34)= -13, f(35)= 3 and f(42)= -18.
40. The area A of a circle of diameter d is given for the following values:
d 80 85 90 95 100
A 5026 5674 6362 7088 7854
Calculate the area of a circle of diameter 105, using Newton backward interpolation formula.
41. Find the number of men getting wages between Rs. 10 and 15 from the following data using Newton forward
interpolation formula:
Wages in 0 - 10 10 - 20 20 - 30 30 - 40
rupees
frequency 09 30 35 42
43. The following table gives the viscosity of an oil as a function of temperature. Use
Newton divided interpolation formula to find the viscosity of oil at a temperature of 1400.
Temp.0 110 130 160 190
Viscosity 10.8 8.1 5.5 4.8
44. Given the following values of x and y,find dy/dx and d2y/dx2 at
(a) x=1.0, (b) x=1.15, (c) x=1.25 , (d) x=1.28.
x 1.0 1.05 1.10 1.15 1.20 1.25 1.30
y 1.0000 1.0247 1.0488 1.0723 1.0954 1.1180 1.1401
45. Using the following data, find x for which y is minimum and find this value of y.
x 0.60 0.65 0.70 0.75
y 0.6221 0.6155 0.6138 0.6170
46. Apply the method of Least squares to fit the curve y=ax2 + b/x to the following data:
x 1 2 3 4
y -1.51 0.99 3.88 7.66
47. (a) Obtain the least square approximation of the form f ( x) = a x b to the data
(b) Obtain the Chebyshev polynomial approx. ofsecond degree to the function f ( x) = ax 3 on [0,1].
(c) Define the orthogonality of a set of functions and explain the Gram-Schmidt orthogonalization process.
(d) Using Gram-Schmidt orthogonalization process, compute the first three orthogonal polynomials which are
orthogonal on [0, 1] with respect to the weight function w(x)=1. Using these polynomials obtain the least square
3
approximation of second degree for f ( x ) = x − 4 x on [0, 1].
(e) Compute the first three polynomials which are orthogonal on [-1, 1] with respect to the weight function w(x)=
1/ x 2 + 1 . Using these polynomials obtain the least square approximation of second degree for f ( x ) = x on [-1,
1].
48. The voltage v across a capacitor at time t seconds is given by the following table:
t 0 2 4 6 8
v 150 63 28 12 5.6
Use the method of Least squares to fit the curve of the form v = a et to this data.
49. The following table gives the results of the measurements of train resistance ; V is the velocity in miles per hour, R
is the resistance in pounds per ton:
V 20 40 60 80 100 120
R 5.5 9.1 14.9 22.8 33.3 46.0
If R is related to V by the relation R = a + bV +Cv2, find a, b and c.
1
1
50. Evaluate ∫ 1 + x dx dx taking seven ordinates by applying Simpson 3/8 rule. Deduce the value of log 2.
0
e
π /2 π /2
x
51. Evaluate the integrals (i) ∫
0
sin x dx and (ii) ∫
0
sin x
dx using (i) Simpson 1/3- rule and (ii) Trapezoidal rule
∫ (1 + x ∫e
4 − x2
(i) ) dx (ii) dx.
2 −2
55. Using Taylor series method, compute y(0.1) and y(0.2) to three places of decimal from the following:
(i) dy/dx = 1 – 2xy given that y(0)=0 , (ii) dy/dx = xy +1, y(0)=1 (iii) dy/dx = x2 + y2 ,y(0)=1
56. Solve the following initial value problem dy/dx = -xy2 , y=2 at x=0 by Euler’s modified method to obtain y at
x=0.2 in steps of 0.1, correct to four decimal places.
57. Solve the differential equation dy/dx =2 +√(xy), where y(1)=1 by Euler’s modified method to obtain y at x=2 in
steps of 0.2, correct to four decimal places.
58. Apply Runge-Kutta method of order Two and Four respectively to solve the following initial value problems for
y(0.2) by taking h=0.1 and hence compare the result.
(i) 10 (dy/dx) = x2 +y2 , y(0)=1 (ii) dy/dx =3x + y/2, y(0)=1
(iii) dy/dx =(2xy +ex)/(x2+xex), y(0)=1
59. Discuss the stability of Numerical methods for the solution of initial value problems.
60. Find the value of y (0.2) and y (0.4), using Runge-Kutta method of fourth order with h = 0.2 given that
dy
= x 2 + y ; y ( 0 ) = 0 .8 .
dx
dy 1 y
61. Given that = − , y (1) = 1, y (1.1) = 0.996, y (1.2) = 0.986 and y (1.3) = 0.972, find the values of
dx x 2 x
y (1.4) and y (1.5) using Milne’s Predictor-corrector method.
**********************************************************************************************