Sei sulla pagina 1di 1

Assignment-1

1. By using 5 digit arithmetic with rounding, add the numbers 658.86, 0.35688, 59.037, 0.0056893, 8.7869
and 0.085233 by rearranging the order so that the error is minimum.

2. Use 5 digit floating-point arithmetic to evaluate the polynomial x3 −3.966x2 +5.2431x−2.3105 at x = 1.372
in nested form using both rounding and chopping. If true solution is 0.000125 then what is the number
of significant digits matching in each case.
00
3. If φ(x) the iteration function, i.e. xn+1 = φ(xn ) is such that φ (x) is continuous in some neighbourhood of
0 00
the fixed point α and φ (α) = 0, φ (α) 6= 0, then show that the fixed point method converges quadratically.

4. Find the root of the equation x3 − 2x − 5 = 0 by using (a) Regula-falsi method and (b) Secant technique.
If true root is 2.0945 then do the iterations to achieve the solution correct up to three decimal places.

5. Do four iterations to compute the root of the equation 0.1x − log10 x = 0 between x = 1 and x = 2 by
interval halving method. If  = 0.005 is the permissible error, then determine the number of iterations
required to achieve this.

6. Write an iteration formula to find the pth root of a positive


√ number N by Newton-Raphson method.
Hence, show that the square root of N = AB is given by N ≈ ( A+B AB
4 + A+B ).

7. Find the root of f (x) = (x − 4)2 (x + 2) = 0 by using Regula Falsi method with the given initial guesses
x0 = −2.5, x1 = −1.0 and a pre-specified tolerance  = 0.5%.

8. Write an iteration formula to find the reciprocal of a positive number N by Newton-Raphson method.
Hence, determine the reciprocal of 15 correct up to 3 decimal places with x0 = 0.05.

9. Perform 3 iterations of the Secant method to find the root of f (x) = x4 − 5 with starting points x0 = 1
and x1 = 2. If exact root is 1.5, calculate the absolute and relative errors after the third iteration.

10. Find a suitable iteration function φ(x) and corresponding interval I to compute a real root of the equation
x3 + x2 − 1 = 0. Check the conditions of fixed point iteration theorem.

11. The equation x4 − 6x3 + 12x2 − 10x + 3 = 0 has a root at x = 1. Starting with x0 = 0.5, find the first
approximate solution by a suitable method of quadratic convergence.

Potrebbero piacerti anche