Numerical Method 2069

Tribhuwan University
Institute of Science and Technology
2069
Bachelor Level / Third Semester / Science
Computer Science and Information Technology ( CSC-204 )
( Numerical Method )
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Candidates are required to give their answers in their own words as far as practicable.
The figures in the margin indicate full marks.

Attempt all questions:

1. Derive the formula to solve nonlinear equation using secant method. Using your formula estimate a real root of following nonlinear equation using secant method correct up to two decimal places x2+ ln x = 3. (3+5)

8 marks view

2. Estimate f(3) from the following data using Cubic Spline interpolation.

OR

Find the best fitting quadratic polynomial from following data using least square approximation.


8 marks view

3. a) For the function   estimate f’(6.3) and f”(6.3) [take h = 0.01]         (4)

    b) Evaluate  using Gaussian integration 3 point formula.         (4)

8 marks view

4. Solve the following set of equation using Gauss elimination or Gauss Jordan method.         (8)

        3x1 + 5x2 - 3x3 + x4 = 16

        2x1 + x2 + x3 + 4x4 = 9

        3x1 – 4x2 – x4 = 1

        2x1 + x2 – 3x3 + 9x4 = 5

8 marks view

5. How can you solve higher order differential equation? Explain. Solve the following differential within 0 ≤ x ≤ 1 using Heun’s method.(3 + 5)

        

8 marks view

6. a) How can you obtain numerical solution of a partial differential equation? Explain.(3)

    b) The steady-state two-dimensional heat-flow in a metal plate is defined by Given the boundary conditions as shown in figure below, find the temperature at interior points T1, T2, T3 and T4. (5)


8 marks view

7. Write an algorithm and C-program code to solve non-linear equation using Newton’s method. Your program should read an initial guess from keyboard and display the followings if the solution is obtained: (5+7)

  •  Estimated root of the equation
  •  Functional value at calculated root
  •  Required number of iterations
12 marks view