0% found this document useful (0 votes)
43 views

Nepathya College: CSC-204 Numerical Method

The document provides instructions for a numerical methods midterm exam, including 6 potential questions. Question 6 instructs students to "Write the c-program to illustrate the NR method." The NR method refers to the Newton-Raphson method, a root-finding algorithm for functions. Students are asked to write a C program that demonstrates how to use the Newton-Raphson method to find the root of a function.

Uploaded by

kamalshrish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Nepathya College: CSC-204 Numerical Method

The document provides instructions for a numerical methods midterm exam, including 6 potential questions. Question 6 instructs students to "Write the c-program to illustrate the NR method." The NR method refers to the Newton-Raphson method, a root-finding algorithm for functions. Students are asked to write a C program that demonstrates how to use the Newton-Raphson method to find the root of a function.

Uploaded by

kamalshrish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

6. Write the c-program to illustrate the NR method.

Nepathya College
Mid Term Exam
2072
Bachelor Level/Third Semester
Full Marks: 40
CSC-204
Pass Marks: 12
Numerical Method
Time: 1:30
Attempt any five questions. (5*8=40)
1. Write the algorithm of NR method. Find the positive root
of equation
F(x) =cos x-1.3x by using bisection method.
2. Define interpolation. Estimate the value of f(2.5) using
cubic spline.
i
0
1
2
Xi

F(xi)

0.5

0.3333

0.25

3. Use gauss quadrature formula for n=3 evaluate


1
(1+dxx 2)
0
4. How gauss elimination method can solve the any system
equation. Solve the following system of equation by
applying Gauss- Seidel method . Carry out the iterations
up
to 6th stage.
28x+4y-z=32
X+3y+10z=24
2x+17y+4z=35
5. Derive the expression for Laplace equation. Solve the
2u=-10(x2+y2+10) over the boundary
equation
mesh with sides x=0, y=0 and x=3, y=3 with u = 0 on
the boundary and mesh length h=1.

Nepathya College
Mid Term Exam
2072
Bachelor Level/Third Semester
Full Marks: 40
CSC-204
Pass Marks: 12
Numerical Method
Time: 1:30
Attempt any five questions. (5*8=40)
1. Write the algorithm of NR method. Find the positive root
of equation
F(x) =cos x-1.3x by using bisection method.
2. Define interpolation. Estimate the value of f(2.5) using
cubic spline.
I
0
1
2
Xi

F(xi)

0.5

0.3333

0.25

3. Use gauss quadrature formula for n=3 evaluate


1
(1+dxx 2)
0
4. How gauss elimination method can solve the any system
equation. Solve the following system of equation by
applying Gauss- Seidel method . Carry out the iterations
up
to 6th stage.
28x+4y-z=32
X+3y+10z=24
2x+17y+4z=35
5. Derive the expression for Laplace equation. Solve the
2u=-10(x2+y2+10) over the boundary
equation
mesh with sides x=0, y=0 and x=3, y=3 with u = 0 on
the boundary and mesh length h=1.
6. Write the c-program to illustrate the NR method.

You might also like