BCS 054
BCS 054
BCS 054
This assignment has eight questions of total 80 marks. Answer all the questions. 20 marks
are for viva voce. You may use illustrations and diagrams to enhance explanations. Please
go through the guidelines regarding assignments given in the Programme Guide for the
format of presentation. Illustrations/ examples, where-ever required, should be different
from those given in the course material. You must use only simple calculator to perform
the calculations.
Q1:
(a) Use the eight-decimal digit floating point representation as given in your (3 Marks)
Block 1, Unit 1, Section 1.3.1 page 29 to perform the following operations:
9
(c) Find the Maclaurin series for f(x) = e2x at x=0. Use first four terms of this (3 Marks)
series to compute the value of the function at any value of x. Also find the
bounds of truncation error for such cases.
(d) What is a truncation error? How can Taylor's series be used to (2 Marks)
determine truncation error? Explain with the help of an example.
Q2:
(a) Solve the system of equations (5 Marks)
2x + y + 5z = 18
5x + 3y – 2z = 2
x – 6y + 2z = 1
using Gauss elimination method with partial pivoting. Show all the steps.
(b) Perform four iterations (rounded to four decimal places) using (5 Marks)
(i) Jacobi Method and
(ii) Gauss-Seidel method
for the following system of equations.
6 4 -1 x 25
4 -8 3 y = -1
-3 2 5 z 0
Q3:
Determine the smallest positive root of the following equation: (10 Marks)
f(x) = 3x4 – 5x2 – 11x - 13 = 0
10
Q4:
(a) Find Lagrange’s interpolating polynomial that fits the following data. Hence (5 Marks)
obtain the value of f(4).
x 1 3 6 10
f(x) 1 5 26 82
(b) Using the Lagrange's inverse interpolation method, find the value of x when (5 Marks)
y is 7.
x 6 20 42 90
y=f(x) 1 3 5 8
Q5:
(a) The depositions in a Bank for 5 different years are given in the following (3+2+3 = 8 Marks)
table:
(i) Using Stirling's central difference formula estimate the deposits for the
year 2014
(ii) Using Newton’s forward formula estimate the deposits for the year
2012.
(iii) Using Newton’s backward formula estimate the deposits for the year
2018.
(b) Derive an expression of forward difference operator in terms of δ. (2 Marks)
Q6:
(a) Find the values of the first and second derivatives of y = 2x2+3x-2 for (5 Marks)
x=1.25 using the following table. Use forward difference method.
Also, find Truncation Error (TE) and actual errors.
x : 1 1.5 2 2.5
y : 3 7 12 18
(b) Find the values of the first and second derivatives of y = 2x2+3x-2 for (5 Marks)
x=1.25 from the following table using Lagrange’s interpolation
formula. Compare the results with (a) part above.
x : 1 1.5 2 2.5
y : 3 7 12 18
11
Q7:
Compute the value of the integral (10 Marks)
6
∫0 (2x4+ 3x3 - 11 x2) dx
By taking 12 equal subintervals using (a) Trapezoidal Rule and then (b)
Simpson's 1/3 Rule. Compare the result with the actual value.
Q8:
(a) Solve the Initial Value Problem, using Euler’s Method for the differential (4 Marks)
Equation:
(b) Solve the following Initial Value Problem using (i)R-K method of O(h2) (6 Marks)
and (ii) R-K method of O(h4)
12