Assignment_AIML_3
Assignment_AIML_3
Noida
Department: Applied Science
Assignment
Unit:3
Q1. The following table of values are given for a function f(x)
x= 0.1 0.2 0.3
y= f (x, y)
0.1 2.0200 2.0351 2.0403
0.2 2.0351 2.0801 2.1153
0.3 2.0403 2.1153 2.1803
f f
Determine the value of and at (0.2,0.2) using central difference formula.
x y
1
dx
Q2. Evaluate using three-point Gaussian Quadrature formula.
−1
1 + x2
1
dx
Q3. (i) Evaluate using Simpson’s 3/8th rule. Hence find the value of .
0
1 + x
1
(ii) Find the approximate value of such that the value of 1 + xdx
0
using Trapezoidal rule
with h=0.2 is 3.
2
Q4. Evaluate x 2e− x dx using Trapezoidal rule and Simpson’s 1/3rd rule.
2
Q5. Determine the first derivative of f ( x) = −0.1x4 − 0.15x3 − 0.5x2 − 0.25x + 1.2 at x=0.5 using
forward, backward and central difference formulae taking h=0.25.
Q6. Find the values of f (0) and f (8) from the following data using approximate initial values
based on finite difference and Richardson’s extrapolation method.
x 0 1 2 3 4 5 6 7 8
f(x) -5 -2 7 34 91 190 343 562 859
Q7. Find the values of f (−3) with step size h=1 and h=1/2 using
JIMS Engineering Management Technical Campus, Gr. Noida
Department: Applied Science
−3 f ( x0 ) + 4 f ( x1 ) − f ( x2 )
f ( x0 ) = for the following data:
2h
x -3 -2.5 -2 -1
f(x) -25 -14.125 -7 -1
f ( x0 ) − 2 f ( x1 ) + f ( x2 )
Q8. Find the values of f (−1) with step size h=1 using f ( x0 ) = for the
h2
following data:
x -1 -0.5 0 1
f(x) 2.7183 1.6487 1 0.3679
4
Q9. Evaluate 1 + 5x 2 dx using Gaussian Quadrature formula with n=2 nodal points.
0
1
dx
Q10. Use Romberg’s method to find 1+ x
0
2
,correct to four decimal places.