Code: C-09 / T-09                                                            Subject: NUMERICAL COMPUTING

Time: 3 Hours                                                                                                     Max. Marks: 100

NOTE: There are 11 Questions in all.

·      Question 1 is compulsory and carries 16 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.

·      Answer any THREE Questions each from Part I and Part II. Each of these questions carries 14 marks.

·      Any required data not explicitly given, may be suitably assumed and stated.

Q.1       Choose the correct or best alternative in the following:                                           (2x8)

a.        Newton – Raphson method is to be applied to find the value of .  Then, the formula can be written as

      (A)  .                           (B)   .  

(C)  .                                  (D)   .                                                      

b.      The divided difference  is equal to

(A)   .                                          (B) .                  

(C) .                                (D) .

                                                                        Where  are equispaced points with spacing h and  is the

       forward difference operator. 

c.       Attempt is made to solve the system of equations  where  and by the Gauss–Jacobi iteration method.  Then, the iteration           

(A)    has rate of convergence 0.5634.   (B) has rate of convergence 0.235.                

(C) has rate of convergence 1.234.      (D) diverges.

d.      The interpolating polynomial that fits the data

   x

1

2

3

4

f(x)

-1

-1

1

5

                                                                        is        

                   (A)  .                                (B)  .               

                   (C)  .                             (D) .

             e.   The integral  is evaluated by Simpson’s rule using 3 points.  Then, the value of I is equal to                                                              

(A)     *.                                           (B)  23 / 60.

(C)  37 / 60.                                        (D) 47 / 60.

             f.    The least squares straight line approximation to the data

x

1

2

3

4

f(x)

-1

1

3

5

                   is given by

(A)     *.                                        (B)  .

(C)  x + 4.                                           (D)  .

             g.   A numerical differentiation formula for finding  is given by

                  

                   Then, the value of a for which the method is of highest order is given by

(A)     *.                                             (B)  0.

(C)  .                                               (D)  2.

             h.   The integration formula  is to be used.  The value of a for which the method is of highest order, is given by

                   (A)  1.                                                 (B)  2/3.

                   (C)  1/3.                                              (D)  1/2.        

 

PART I

Answer any THREE Questions. Each question carries 14 marks.

 

  Q.2     a.   The equation  is given.

(i)                  Locate the smallest root in magnitude, in an interval of length one unit.

(ii)                Hence, find this root correct to 3 decimals using the secant method.            (6)

              b.   A method for determining , where N is a positive real number, is written as .  Determine the values of the parameters a, b, c such that the order of the method is as high as possible.               (8)

 

   Q.3     a.   The system of equations  has a solution near x = 1.5, y =   Set up the Newton’s method for solution and iterate once.                                      (7)

 

             b.   Using the Cholesky method, solve the system of equations

                   .                                                                           (7)

 

  Q.4     a.   Solve the system of equations

                  

                   using the Gauss elimination method with partial pivoting.                                      (7)

              b.  Find the inverse of the matrix  using the Gauss – Jordan method.                    (7)

 

 

 

  Q.5     a.   Perform 4 iterations of the Gauss – Seidel method for finding the solution of the linear system of equations

                  

                    Assume  the initial approximation as  and  .  Find the iteration matrix and hence determine the rate of convergence of the method.                                                     (8)

             b.   Find all the eigenvalues of the matrix , using the Jacobi method. (Use exact arithmetic)                                                                (6)

 

  Q.6     a.   Find the smallest eigenvalue in magnitude and the corresponding eigenvector of the matrix , using the inverse power method.  Assume the initial approximation to the eigen vector as .                                                               (8)

       

b.      Transform the matrix to tri-diagonal form using the Given’s method.  Set up the Sturm sequence and find the smallest eigenvalue in magnitude.                                                      (6)

     

PART II

Answer any THREE Questions. Each question carries 14 marks.

  Q.7     a.   A table of values is to be constructed for the function  on .  If the linear interpolation is to be used on this table of values, find the largest step size that can be used so that the error is bounded by .                                                                                                           (7)

 

              b.  Obtain the unique polynomial  of degree 3 or less corresponding

                  to a function  where  .                        (7)

                 

  Q.8     a.   If  find the divided difference  in terms of  and the divided differences .        (5)

 

             b.    If  are the forward and backward differences respectively,

                   show that .                                                                  (4)

 

 

 

c.       Find the interpolating polynomial which fits the data                                             (5)

 

x

0.1

0.2

0.3

0.4

0.5

0.6

f(x)

0.93

0.92

0.97

1.08

1.25

1.48

       

  Q.9     a.  Use the method of least squares to fit a function of the form  to the following data                                                                  (7)

x

1

2

3

4

5

y

5

3.5

3

2.7

2.5

                  

 

  

 

             b.   The following table of values is given

                  

x

0.2

0.3

0.4

0.5

0.6

y(x)

1.8054

1.5769

1.2834

0.9483

0.5981

                   Find all the possible approximations for  using the differentiation formula.  .

                   Perform Richardson’s extrapolation to obtain a better estimate.                           (7)

Q.10     a.   The generalised trapezoidal rule

                  

                   where p is a constant and  is given.  Find the value of the constant p.  Deduce the composite rule for evaluating the integral

                                                                     (8)

b.      Evaluate the integral  using the Gauss-Legendre two-point and three point integration rules.                                                                                                                         (6)

                                                                      

Q.11           a.                                                        Find approximations to  with the Taylor’s series method of second order and step length h = 0.2, where y(x) is the solution of the initial value problem

                                                                           (8)                      

                  

             b. The initial value problem  is given.  Find an approximation to y(1.2), when h = 0.2, using the Runge – Kutta method

                  

                   for the solution of differential equation .                                            (6)

JUNE / 2003                    

 

Code: C-09 / T-09                                                            Subject: NUMERICAL COMPUTING

Time: 3 Hours                                                                                                     Max. Marks: 100

 

NOTE: There are 11 Questions in all.

·      Question 1 is compulsory and carries 16 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.

·      Answer any THREE Questions each from Part I and Part II. Each of these questions carries 14 marks.

·      Any required data not explicitly given, may be suitably assumed and stated.

Q.1       Choose the correct or best alternative in the following:                                           (2x8)

             a.   An approximate value of  is given by  and its true value is X = 3.1415926. Then, the absolute and relative errors are 

                                                                                                                                               

(A)     0.0012645, 0.000402.                 (B)  - 0.0012645, - 0.000402.

(C)  0.0012645, - 0.000402 .             (D)  - 0.0012645, 0.000402.

 

b.  Consider a variation of Newton’s method in which only one derivative is

     needed, that is, .  Then,  if  the value of   

     s is

 

(A)   2.                                                 (B) 1.5.                                         

(C) 1.                                                  (D) 0.5.

c.   The spectral radius of the matrix  is

(A)    2.                                                 (B)  1.               

(C)  >2.                                               (D)  <1.

 

d.   The maximum stepsize h that can be used in the tabulation of f (x) = sin x  in

       the interval  at equally spaced nodal points so that the truncation error  

       of the linear interpolation is less than  is

                   (A)  0.075.                                          (B)  0.0075.               

                   (C)  0.01.                                            (D) 0.00075.

 

             e.   The Jacobian matrix for the system of equations

                    

                   at the point (1, 1) is given by

 

(A)     .                                    (B)  .              

(C)  .                                     (D)  .

                 

             f.    If f is a polynomial of degree k, then for n > k,  equals

(A) n.                                                  (B)  1.

(C)  0.                                                 (D)  k.

 

             g.   The Trapezoidal rule of numerical integration is exact for all polynomials of degree

 

(A)     2.                                                 (B)  3.

(C)  1.                                                 (D)  >3.

 

             h.   The solution of the initial value problem  by use of the mid-point method with h = 0.2 is given by

 

                   (A)  0.9580.                                        (B)  0.8520.               

                   (C)  0.7561.                                        (D)  0.7021.

                   (You may calculate  from the exact solution.)      

                

PART I

Answer any THREE Questions. Each question carries 14 marks.

 

  Q.2     a.   Find analytically the solution of the following difference equation with the given initial values : , , .  Without actually computing the solution recursively, find whether such a computation would be stable or not.                                                           (7)

 

              b.   Find an interval of length 1, in which a real root of smallest magnitude, of            3x = cos x + 1 lies. Use Newton-Raphson method to find this root correct upto 3 decimal places.                           (7)

 

 

   Q.3     a.   Consider the following  system of linear equations given by   where  (small) is of the order of round-off error.  Find the solution of the above system using

(i)                  Gauss elimination without pivoting.

(ii)                Gauss elimination with partial pivoting.

                  Do you find any difference in the solutions of (i)  and (ii) ?  Justify.                        (7)

 

             b.   The system of equations Ax = b is to be solved iteratively by .  Suppose  k real.                         Find a necessary and sufficient condition on k for convergence of the Jacobi method.                                                                     (7)

 

  Q.4     a.   Find the solution of the system of equations

                  

                   using the Gauss elimination method.                                                                    (7)

             b.   Determine the rate of convergence of the Gauss-Seidel method for solving the system .                  (7)

  Q.5     a.   Starting with , perform two iterations of the Newton’s method on the following system of equations:

                     .                                                                                             (7)

             b.   Find the inverse of the matrix                                                           

                   using the Choleski method.                                                                                 (7)

  Q.6     a.   Find all the eigenvalues and eigenvectors of the matrix   using Jacobi’s method.                                                               (7)

 

             b.   Use the Givens method to transform the matrix  to tri-diagonal form.  Find the largest eigenvalue, in magnitude,  using the Sturm sequences.                                                         (7)

 

PART II

Answer any THREE Questions. Each question carries 14 marks.

  Q.7     a.   The equation f(x) =  has a solution in (0, 1).  Find the  interpolation polynomial for the function f(x),  using the points  where .  By setting the interpolation polynomial equal to zero and solving the equation, find an approximate solution to the equation.                                                           (7)

 

             b.   The polynomial  interpolates the first four points in the table :

x

–1

0

1

2

3

y

2

1

2

–7

10

                  

                  

 

                   By adding one additional term to p(x), find a polynomial that interpolates the whole of table.                                                                       (7)

 

  Q.8     a.   A person runs the same race track for five consecutive days and is timed as follows :

day(x)

1

2

3

4

5

time(y)

15

14

13

12

11

                  

                  

                  

                   Make a least squares fit to the above data using a function .           (7)

             b.    Determine the constants a, b, c and d such that the interpolation

                    polynomial  becomes

                    correct to the highest possible order.   (7)

            

  Q.9     a.   Simpson’s rule of numerical integration has the asymptotic error in the form             

                                               Error =

                   where   Error = I (exact) – I (numerical solution).

                   Obtain the Romberg formula for improving the  numerical solution. Use it to evaluate

 

                  

                   with h = 0.5 and 0.25.                                                                                      (7)

                  

             b.   Obtain a generalized trapezoidal rule of the form  

                    by finding the constant p and the error term.  Deduce the composite rule for integrating .                                             (7)

 

Q.10           a.                                                        A differentiation rule of the form  

                    is given.  Find the values of , and  so that the rule is exact for all polynomials of degree less than or equal to 2.  Find the error term.       (7)

 

             b.   Use Gauss-Chebyshev two point and three point formulas to evaluate

 

                                                                                                  (7)

 

Q.11           a.                                                        Solve the initial value problem  with h = 0.2 on [0, 1] using the Euler method.                                                                             (6)

 

 b.   Derive the second order Runge – Kutta method for solving the initial       

       value problem:  in the form         

                                            (8)                        

 

 

 

 

 

DEC./2003

Code: C-09 / T-09                                                            Subject: NUMERICAL COMPUTING

Time: 3 Hours                                                                                                     Max. Marks: 100

 

NOTE: There are 11 Questions in all.

·      Question 1 is compulsory and carries 16 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.

·      Answer any THREE Questions each from Part I and Part II. Each of these questions carries 14 marks.

·      Any required data not explicitly given, may be suitably assumed and stated.

 

Q.1       Choose the correct or best alternative in the following:                                           (2x8)

             a.   For Simpson’s  rule of numerical integration  where , the value of

                                                                                                                                               

(A)     n must be even.                            (B)  n must be odd.

(C)  n can be any integer.                     (D)  n is multiple of 3.

 

b.  An approximation for the solution of the initial value problem

      is

    

(A)   1.                                                 (B) .                                    

(C) .                                        (D) None of these.

c.   If Newton-Raphson method is used for solving the equation f (x) =0, the order

                                                                       of convergence is

(A)    1.                                                 (B)  3.               

(C)  5.                                                 (D)  None of these.

 

d.   The equation  has a multiple root  of

                                                                        multiplicity 2.  The other two roots will be

      

                   (A)  both real but different.                   (B)  a pair of equal real roots.               

                   (C)  a complex pair.                             (D) one real and one complex.

 

             e.   The spectral radius of the matrix  is

 

(A)     2.                                                 (B)  1.              

(C)  > 1.                                              (D)  < 1.

                 

             f.    The highest degree polynomial for which 4 point Gauss Legendre integration formula gives exact result is equal to

 

(A)  2.                                                 (B)  3.

(C)  4.                                                 (D)  7.

 

             g.   The order of the method  for solving the initial value problem  is

 

(A)     second.                                        (B)  first.

(C)  third.                                            (D)  fourth.

 

             h.   Point out the false statement

 

                   (A)  .             (B)  .               

                   (C)  .(D)  .

                

PART I

Answer any THREE Questions. Each question carries 14 marks.

 

 

  Q.2     a.   Show that the following system of equations 

                    

                   is inconsistent except for one value of A.  Find this value.                                    (7)

 

 

              b.   Use Gauss elimination method to solve

                                                                                                       (7)

 

 

 

   Q.3           Derive Gauss-Legendre two-point integration method to evaluate the integral  .  Use this method to compute

                   .                                                                                            (14)

 

 

  Q.4     a.   Perform three iterations of the False position method to find the root of the equation  starting with the initial approximations .                                                 (6)

 

             b.   Find the Lagranges interpolation polynomial which fits the following data.

                  

i

0

1

2

3

0

1

2

3

0

1.7183

6.3891

19.0855

 

                   and use the same to estimate the value of f (1.5).                                                 (8)

 

  Q.5     a.   Using Runge-Kutta classical fourth order method, find the approximate value of y (1.2) for the initial value problem  with the step size h = 0.1.                                                   (10)

 

             b.   Determine the order of convergence of the iterative method                                    

 

                                                                                            (4)

 

  Q.6     a.   Find the approximate value of       I  =   using composite Trapezoidal rule with  h = 1/2 , 1/4, 1/8 and the Romberg integration.          (8)

 

             b.   Prove the following :

                   (i)      .

                   (ii)     .                                                                                  (6)

 

PART II

Answer any THREE Questions. Each question carries 14 marks.

 

  Q.7           Describe the inverse power method for determining the smallest           eigenvalue in magnitude of a square matrix.  Perform three iterations of this method to find the smallest eigenvalue in magnitude of the matrix

                    

                   Take the initial approximation to the eigenvector as .                    (14)

 

 

  Q.8           Describe Jacobi’s method to find all the eigen values of the real symmetric matrix and hence find all the eigen values of the matrix .          (14)

                                                                             

  Q.9     a.   Obtain the least squares approximation of degree two which fits the data                

                  

X

1

2

3

4

5

6

Y

1200

900

600

200

110

50

                                                                                                                                          (7) 

                                                                                                                            

             b.   Use Taylor’s series method of order four to obtain the approximate value of y (0.2) for the initial value problem

                   .                   

                   Take the step size h = 0.1.                                                                                 (7)

 

Q.10                                                                      Show that the following two sequences have convergence of the second order with the same limit .

                   (i)                    (ii) 

                   If  is a suitably close approximation to , show that the error in the first formula for  is about one-third of that in the second formula, and deduce that the formula

                    

                   gives a sequence with third-order convergence.                                                (14)

                   

Q.11           a.                                                        Determine the truncation error and the order of the method

                    Find the optimal value of the step size h such that

 

                    | round-off error | = | truncation error |                                                             (7)

                  

b.      Using Choleski method solve the linear system of equations

 

                                                                                                     (7)

 

 

 

 

JUNE/2004

 

Code: C-09 / T-09                                                            Subject: NUMERICAL COMPUTING

Time: 3 Hours                                                                                                     Max. Marks: 100

 

NOTE: There are 11 Questions in all.

·      Question 1 is compulsory and carries 16 marks. Answer to Q. 1. must be written in the space provided for it in the answer book supplied and nowhere else.

·      Answer any THREE Questions each from Part I and Part II. Each of these questions carries 14 marks.

·      Any required data not explicitly given, may be suitably assumed and stated.

·      keep four decimal digits in your arithmetic calculations.

Q.1       Choose the correct or best alternative in the following:                                           (2x8)

             a.   A root of the equation  is obtained using the secant method with initial approximations  and .  The root obtained after two iterations is  

(A)     1.8535.                                        (B)  1.8555.

(C)  1.8635.                                        (D)  1.8655.

b.  The iteration method   is

     used to solve the linear system of equations .  The spectral

     radius of the iteration matrix is     

(A)   .                                         (B) .                                       

(C) .                                                (D) 1.

c.   The function f (x) is given in tabular form as

       x

-3

-1

0

1

2

F(x)

7

1

1

3

7

                                                                        Using interpolation, the value of f (-2) is obtained as    

(A)    2.                                                 (B)  3.               

(C)  4.                                                 (D)  5.

d.   The truncation error in the method

                                                                     

                                                                        is written in the form .  The value of p is

                   (A)  1.                                                 (B)  2.               

                   (C)  3.                                                 (D) 4.

             e.   The integration rule  is of the highest possible order if the value of b is

(A)     .                                               (B)  .              

(C)  1.                                                 (D)  .

                  f.    The value of the integral  using Gauss-Chebyshev two-point method is

(A)  .                                               (B)  .

(C)  .                                               (D)  .

             g.   The least square polynomial approximation of degree 1 to the function  is

(A)     .                                (B)  .

(C)  .                                 (D)  .

             h.   Euler’s method is used to solve the initial value problem  with the step size h =0.1.  The approximate value of y (1.2) is

                   (A)  2.1732.                                        (B)  2.3464.               

                   (C)  2.3541.                                        (D)  2.4541.                    

PART I

Answer any THREE Questions. Each question carries 14 marks.

 

  Q.2     a.   The method  is used to determine a multiple root of multiplicity 3 of the equation f (x) =0.  Find the value of  so that the method has highest rate of convergence.  Obtain the rate of convergence and the asymptotic error constant.                                              (7)

       

 

              b.   Perform two iterations of the method

                  

                  

                   to obtain a root of the equation  starting with the initial approximation .                                                                  (7)

   Q.3     a.   Set up the Newton’s iteration method in matrix form to solve the system of equations

                  

                   Perform two iterations of the method, starting with .             (7)

             b.   Gauss-Jacobi iteration method is used to solve the system of equations

                  

                   Determine the iteration matrix.  Find the rate of convergence of the method, if it converges.             (7)       

  Q.4     a.   Obtain the upper triangular matrix  such that the matrix

                  

                   can be written in the form   Hence, obtain the matrix .               (9)

             b.   Solve the linear system of equations

                  

                   using Gauss-elimination method with partial pivoting.                                           (5)

  Q.5     a.   Determine all the eigenvalues of the matrix , using Jacobi’s method.  (Use exact arithmetic).                                          (8)

 

             b.   Perform three iterations of the inverse power method to find an eigenvalue which is nearest to 3 for the matrix .  Take the initial approximate vector as   (6)

 

  Q.6     a.   Reduce the matrix  to tri-diagonal form using Given’s method.  Determine the characteristic equation of  using Sturms sequence.                                                          (7)

             b.   Find the inverse of the matrix  using Gauss-Jordan method.            (7)

       

PART II

Answer any THREE Questions. Each question carries 14 marks.

  Q.7     a.   Obtain the least square approximation of the form  to the function .                                                                     (7)

             b.   Using Newton’s backward interpolation formula for the given data  show that

                   .  Hence, determine , where f (x) is given by                                                              (7)

                  

x

1

2

3

4

5

f(x)

1

3

7

13

21

       

  Q.8     a.   Obtain the Lagrange interpolation polynomial which fits the data                                                    

x

-3

-1

0

1

f(x)

-29

-1

1

3

                   Also find an approximate value of f (0.5).                                                           (7)

             b.   Find the nth order divided difference of  based on the nodal points .                                                                     (7)                                                                        

  Q.9     a.   Find the error term in the method  as a power series in h.  Derive the corresponding Richardson’s extrapolation scheme. Using this method and the Richardson’s extrapolation, obtain the best value of  when is given by                                                           (7)

                                                                                                                                                           

x

1

2

3

5

f(x)

1

8

27

125

             b.   For the method  determine the optimal value of h, using the criterion

                    

                   where  is the maximum round off error in function values and  is the maximum value of  in a given interval.                                       (7)

Q.10     a.   Determine the constants  in the method  so that the method is of highest possible order.  Obtain the order and the error term of the method.  Find the value of  using this method.                                                             (8)

             b.   The integral  is evaluated using the trapezoidal rule with h=1,  and .  Find the improved value of I using Romberg integration.                                                                   (6)       

                   

Q.11           a.                                                        Using third order Taylor’s series method with step size h=0.2, obtain an approximate value of y (1.4) for the initial value problem

                   .                                                                                        (7)                  

             b.   Using classical fourth order Runge-Kutta method with step size h=0.1, obtain an approximate value of y(1.2) for the initial value problem                  

                                                                                          (7)