Question Bank_QT
Question Bank_QT
1. Find the second approximation to the solution of the following system of linear equation
by using Gauss Seidel method (choose initial guess as (0,0)).
2. Find the second approximation to the solution of the following system of linear equation
by using Jacobi’s method (take initial guess as (0,0)).
3. Solve the system of equations using the Jacobi iteration method using the initial
approximations as
Percentage Lead(p) 50 60 70 80
Temperature 205 225 248 274
8. Define if else statement with the help of an example.
9. Define for loop in MATLAB with the help of an example.
10. Compute the value of f(x) for x=2.5 from the following table by using Lagrange’s
interpolation formula
X 1 2 3 4
Y 1 8 27 64
11. Using Lagrange’s formula calculate f(3) from the following table
x 0 1 2 4 5 6
f(x) 1 14 15 5 6 19
12. Write a MATLAB code for fourth order Runge-Kutta method and find the value of
for the differential equation with
13. Find the largest Eigen value and corresponding Eigen vector of the following matrix
by using Power method.
14. Write a MATLAB code for Simpson’s 1/3 rule and find the value of the integral
by taking 6 subintervals.
15. Write a code MATLAB for applying fourth order Runge - Kutta method and find the
value of for the differential equation with
16. Using R-K 4th order method solve for x=0.2 with the initial conditiony=1
and at x=0.
17. Consider a problem of source free heat conduction in an insulated rod of length 0.5m,
whose end are maintained at constant temperature 100oC and 500oC respectively. The
one dimensional problem is governed by the equation with Calculate
the steady state temperature distribution in the rod where k=1000 w/mF and cross
section area
18. Fit a straight line trend to the following data :
Year 1975 1976 1977 1978 1979 1980 1981 1982 1983
Sales( in Lakhes) 18 24 26 28 33 36 40 44 48