Explain absolute and relative error. Find the relative error of number 5.6 if both of its digits are correct.
On what type of equations Newton's methods can be applicable. Justify.
Solve the following equations by using Gauss-Jordan method.
2x+3y+4z=5 3x+4y+5z=6 4x+5y+6z=7
Use the Romberg method to get an improved estimate of the integral from x = 1.8 to x = 3.4 from the data in the table with h = 0.4.
| X : | 1.6 | 1.8 | 2.0 | 2.2 | 2.4 | 2.6 | 2.8 | 3.0 | 3.2 | 3.4 | 3.6 | 3.8 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Y : | 4.95 | 6.05 | 7.38 | 9.02 | 11.02 | 13.46 | 16.44 | 20.05 | 24.53 | 29.96 | 36.59 | 44.70 |
| : | 3 | 0 | 9 | 5 | 3 | 4 | 5 | 6 | 3 | 4 | 8 | 1 |
Write a program to compute integral ∫₀^{π/2} √sinx dx Simpson's 1/3 rule.
Using Runge-Kutta method of 4th order solve the following equation taking each step h = 0.1
- xy given y(0) = 3.3 calculate y at x = 0.1 and 0.2.
Solve the laplace equation Uxx + Uyy = 0 for the following square mesh with the boundary values.
Attempt any TWO questions
[2x10=20]Solve the given set of linear equations using Dolittle LU decomposition method:
3x 1 + 2x 2 + x 3 = 10
2x 1 + 3x 2 + 2x 3 = 14
3x 1 + 2x 2 + 3x 3 = 14
Define initial value problems and final value problems. Using heun’s method, find value of y when x=0.3 given that = x + y and y=1 when x=0.
How can x we use Laterpolation techniques (methods) to approximate the value of the root for the functions whose derivative can't be found? Explain. Write a program to solve sin x - 2x + 1 = 0 using Bisection method.