Computer Numerical Questions
Computer Numerical Questions
1. Define absolute error, relative error and percentage error for a numerical approximation.
Find the values of all above mentioned error for a variable 𝑦 where 𝑦 = 5𝑥 5 − 8𝑥 + 2 at
𝑥 = 1, when the absolute error in measuring 𝑥 is 0.05.
2. Write down the formula for Newton’s Forward interpolation and Newton’s Backward
interpolation.
𝑥 40 50 60 70 80 90
𝑦 = 𝑓(𝑥) 184 204 226 250 276 304
For the above table, construct the Newton’s Forward and backward interpolating
polynomials. Then find the values 𝑓(43) and 𝑓(84).
𝑑𝑦
Also find 𝑑𝑥 𝑎𝑡 𝑥 = 50 𝑎𝑛𝑑 𝑎𝑡 𝑥 = 90 .
3. Using Newton’s Interpolation formula, find the area of a circle of diameter 98 cm ?
D (cm) 80 85 90 95 100
A (cm2) 5026 5674 6362 7088 7854
3 𝑑𝑥
4. Estimate the value of ∫1 using
𝑥2
i) Simpson’s 1/3 rule taking the step length ℎ = 0.25.
ii) Trapezoidal rule taking the step length ℎ = 0.2.
2
5. Estimate the value of ∫0 (4𝑥 2 + 6𝑥 + 1) using
i) Simpson’s 1/3 rule taking the step length ℎ = 0.25.
ii) Trapezoidal rule taking the step length ℎ = 0.2.
2
6. Estimate the value of ∫0 𝑒 2𝑥 𝑑𝑥 using
i) Simpson’s 1/3 rule taking the step length ℎ = 0.25.
ii) Trapezoidal rule taking the step length ℎ = 0.2.
10. Solve the equations below using bisection method and Newton-Raphson
method.(correct up to 3 decimal places).
a. 𝑥 3 − 4𝑥 − 9 = 0 b. 𝑥𝑒 𝑥 = 1 c. 𝑥 3 = 11