CSC212 Numerical Method

Numerical Method TU Board 2075 question paper

12 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Science in Computer Science and Information Technology

Semester 3 · TU Board 2075

Course Title: Numerical Method (CSC212)

Full Marks: 60Pass Marks: 24Time: 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.

Group A

Attempt any Two questions: (10 x 2 = 20)(2 × 10 = 20)

  1. 1.

    What is non-linear equation? Derive the required expression to calculate the root of non-linear equation using secant method. Using this expression find a root of following equation.

    10
  2. 2.

    What is matrix factorization? Factorize the given matrix A into LU using Doolittle algorithm and also solve Ax = b for given b using L and U matrices.

    A = and b =

    10
  3. 3.

    What is initial value problem and boundary value problem? Write an algorithm and program to solve the boundary value problem using shooting method.

    10

Group B

Attempt any Eight questions:(5 x 8 = 40)(8 × 5 = 40)

  1. 4.

    Calculate a real negative root of following equation using Newton's method for polynomial.

    5
  2. 5.

    What is least squares approximation of fitting a function? How does it differ with polynomial interpolation? Explain with suitable example.

    5
  3. 6.

    Find the lowest degree polynomial, which passes through the following points:

    X
    -2
    -1
    1
    2
    3
    4
    F(x)
    -19
    0
    2
    -3
    -4
    5

    Using this polynomial estimate f(x) at x = 0

    5
  4. 7.

    The fit function of type y = a + bx for the following points using the least square method.

    X
    -1
    1.2
    2
    2.7
    3.6
    4
    F(x)
    1
    20
    27
    33
    41
    45

    5
  5. 8.

    Calculate the integral value of the function given below from x = 1.8 to x = 3.4 using Simpson's 1/3 rule.

    X
    1.8
    2.0
    2.2
    2.4
    2.6
    2.8
    3.0
    3.4
    F(x)
    0.003
    0.778
    1.632
    2.566
    3.579
    4.672
    7.097
    8.429

    5
  6. 9.

    Evaluate the following integration using Romberg integration.

    5
  7. 10.

    Solve the following set of equations using Gauss Seidel method.

    x + 2y + 3z = 4

    6x – 4y + 5z = 10

    5x + 2y + 2z = 25

    5
  8. 11.

    From the following differential equation estimate y(1) using RK 4^th order method.

    [Take h = 0.5]

    5
  9. 12.

    Solve the Poison's equation over the square domain 0 ≤ x ≤ 1.5, 0 ≤ y ≤ 1.5 with f = 0 on the boundary and h = 0.5.

    5

— The End —