Assignment 2 JUNE 2023
Assignment 2 JUNE 2023
Assignment 2 JUNE 2023
1
intervals, find the definite integral of x dx
1
[GATE, 2014]
2 1 CO2 L3
3
Find the integral dx , when evaluated by using simpson's 1/3rd rule on two equal
1 x
sub intervals each of length 1. [GATE, 2011]
3 Gauss-Seidel method is used to solve the following equations (as per the given order). CO2 L3
X1+2X2+3X3=5
2X1+3X2+X3=1
3X1+2X2+X3=3
Assuming initial guess as zero, Find the result after the first iteration.
[GATE, 2016]
4 CO2 L3
Find the error in numerically computing the integral 0
(sin x cos x)dx
using the trapezoidal rule with three intervals of equal length between 0 to π.
[GATE, 2016]
5 Which type of function can give best result for a single variable function when CO1 L2
numerically integrate using trapezoidal rule. [GATE, 2016]
6 Let f(x) = ex CO2 L2
(a) Show the approximations to f ′ (2.3) using central difference with h = 0.1, h =
0.01, and
h = 0.001. Carry eight decimal places.
(b) Compare the value of f ′ (2.3) with the actual value of e2.3.