Programming for NM
Programming for NM
Write an algorithm and c program to compute the root of nonlinear equation using Newton-Raphson
Method.
2. Write an algorithm and c program to compute the root of linear equation using Gauss-Seidel
Method.
3. Write an algorithm and c program to solve the ordinary differential equations using Heun’s method.
4. Write an algorithm and c program to evaluate a given integral using Trapezoidal rule and Simpson’s
3/8th rule.
5. Implement a C program to compute the eigenvalues and eigenvectors of a symmetric matrix using
the Jacobi eigen value algorithm.
6. Write an algorithm and c program to compute the solution of an ordinary differential equation
(ODE) using the fourth order Runge-Kutta method.
7. Write an algorithm and C program to implement the bisection method for finding the root of a given
continuous function within a specified interval.
8. Write an algorithm and c program to evaluate the fixed-point iteration method.
9. Write a C Program to Find Derivatives Using Newton's Forward Difference Formula.
10. Write and algorithm and program to compute Gauss Elimination Method Using C.
11. Write an algorithm and c program to implement Linear Regression Method using Least Square
Method to find linear equation of best fit.
12. Why is the study of errors important to a computational scientist? Differentiate between inherent
and numerical errors.
13. What is the Gauss-Seidel Method for solving linear equations? Briefly describe its iterative process
and state one condition for its convergence.
14. Define interpolation and differentiate between Lagrange's and Newton's interpolation methods.
Provide scenarios where each method is preferable.
15. What is Truncation error in numerical methods? Give an example of its occurrence and its impact
on result accuracy.