0% found this document useful (0 votes)
16 views38 pages

Chandni File

Uploaded by

chandani
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)
16 views38 pages

Chandni File

Uploaded by

chandani
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/ 38

1) BISECTION METHOD

a) Find the real root of the equation x^3-5*x+1, by the method of


bisection method in 10 iterations.
b) Find the real root of the equation x^3 - 2 * x - 5, by the method of
bisection method in 10 iterations.
c) Find the real root of the equation x^3-x-4, by the method of
bisection method in 10 iterations.
d) Perform 10 iteration of bisection method to find the root of the
function: f(x)= x^3 - x -2 in the interval [1,2].
e) Perform 10 iteration of bisection method to find the root of the
function: f(x)= 2x-root(1+sinx) in the interval [0,1].
2) Secant Method and Regula-Falsi Method
I. Find an interval of unit length that contains the smallest positive root
of the function f(x)=x^3+2x^2-3x-1. Perform 15 iterations of method
of false position to find the root of the function starting with the
resulted interval.
II. Perform 10 iteration of regular falsi method to find the root of
the function: f(x)= x^3 - 5x + 1 in the interval [1,2].
III. Perform 10 iteration of regular falsi method to find the root of
the function: f(x)= x^3 - 2x - 1 in the interval [2,3].
IV. Find the approximate value of the root of x^3-5x+1 using SECANT
METHOD.
V. Find the approximate value of the root of cos[x]-xe^x using SECANT
METHOD.
3) Newton-Raphson Method

a. Perform iteration of Newton Raphson Method to find the root of


the functions f(x)=x^3+2x^2-3x-1.
b. Perform 4 iteration of Newton Raphson Method to obtain
approximate value of (17)^1/3 starting with the initial approximation
2.
c. Perform 6 iterations of Newton Raphson Method to obtain
approximate value of f(x)=x^3-5*x+1 starting with the initial
approximation 0.
d. Find the root of the function f(x)=x^3-5*x+1. Perform 5 iterations of
Newton Raphson Method to find the root of the function starting with
initial approximation 0.5.
e. Find the root of the function f(x)=x^3-x-13. Perform 6 iterations of
Newton Raphson Method to find the root of the function starting with
initial approximation 0.
4) Gaussian elimination method and Gauss-Jordan
method
I. Solve the following system of equations by Gauss Jordan Method:
x1+x2-x3=9
x2+3x3=3
-x1-2x3=2.
II. Solve the following system of equations by Gauss Elimination Method
with pivoting:

2x1+6x2+10x3=0
X1+3x2+3x3=2
3x1+14x2+28x3=-8
III. Solve the following system of the equation (without partial
pivoting): x1 + 2x2 + 3x3 =1
2x1 + 6x2+ 10x3=0
3x1 + 14x2 + 28 x3 = -8
IV. Solve the following system of equations by Gauss Jordan Method:
2x1+3x2+x3=-1
3x1+2x2+2x2=1
x1+2x2+2x3=6.
V. Solve the following system of equations by Gauss Elimination Method
with pivoting:

2x1+3x2+x3=-1

3x1+2x2+2x2=1

x1+2x2+2x3=6.
5) Jacobi Method and Gauss-Seidel Method

i. Solve the system of equation by performing 10 iterations of the gauss


seidal iterative method with initial approximation x0 = [0 0 0]^T.
5x1 + x2 + 2x3 = 10
-3x1+9x2 +4x3= -14
x1 + 2x2 - 7x3= -33.
ii. Perform 14 iterations up to 8 decimal places to solve the following system
of linear equations with x[0]=0 by seidal;
x+2y-2z=11
x+y-z=0
2x+2y+z=3

iii. Perform 14 iterations up to 8 decimal places to solve the following system


of linear equations with x[0]=0; GAUSS JACOBI
5x+y+2z=10
-3x+9y+4z=-14
X+2y-7z=-33
iv. Perform 14 iterations up to 8 decimal places to solve the following system
of linear equations with x[0]=0; GAUSS JACOBI
4x-y=0
2x+4y-z=2
-2y+4z-w=-3
-2z-4w=1
6) Lagrange Interpolation and Newton Interpolation
a) SOLVE THE GIVEN PROBLEM BY USING LAGRANGE
INTERPOLATION AT X = 2.8 AND X = 3.8 , GIVEN
DATA:

X 2 3 4
F(X) 1.4142 1.7321 2
b) SOLVE THE GIVEN PROBLEM BY USING
LAGRANGE INTERPOLATION AT X =1, GIVEN
DATA:

X 1 2 3
F(X) 2 5 10
c) SOLVE THE GIVEN PROBLEM BY USING
NEWTON INTERPOLATION GIVEN DATA:

X -7 -5 -4 -1
F(X) 10 5 2 10
d) SOLVE THE GIVEN PROBLEM BY USING
NEWTON INTERPOLATION GIVEN DATA:

X -8 -5 -3 1
F(X) 12 5 4 1
e) SOLVE THE GIVEN PROBLEM BY USING
NEWTON INTERPOLATION GIVEN DATA:

X 10 3 -7 -4 -5
F(X) 20 5 4 8 0
f) SOLVE THE GIVEN PROBLEM BY USING
NEWTON INTERPOLATION GIVEN DATA:

X 1 2 3 4 5
F(X) 10 20 30 40 50
7) Trapezoid and Simpson’s rule
I. Find the approximate integration of f(x)=1/(1+x) on [0,1] by trapezoid rule.

II. Find the approximate integration of f(x)=1/(1+x^2) on [0,1] by


trapezoid rule.
III. Find the approximate integration of f(x)=e^x on [0,1] by trapezoid rule.

IV. Using Simpson rule, find the approximate integration f(x)=1/1+x on [0,1].
V. Using Simpson rule, find the approximate integration f(x)=1/1+x^2 on [0,1].

VI. Using Simpson rule, find the approximate integration f(x)=tan-1x on [0,1].
8) Euler methods for solving first order initial
value problems of ODE’s

a) Using Euler method, solve the given function f(x)=y+x in the interval
[0,1] and number of iterations is 2.

b) Using Euler method, solve the given function f(x)=2x+y in the interval
[0,1] and number of iterations is 5.
c) Using Euler method, solve the given function f(x)=1+y/x in the interval [1,6]
and number of iterations is 10.

You might also like