Evaluate the following integration using Romberg integration.
∫01xsinxdx
[5]
Solution of Nonlinear Equations
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.
x2+cos(x)−e−x−2=0
[10]
2.
Calculate a real negative root of following equation using Newton’s method for polynomial.
x4+2x3+3x2+4x=5
[5]
Solution of Ordinary Differential Equations
1.
What is initial value problem and boundary value problem? Write an algorithm and program to solve the boundary value problem using shooting method.[10]
2.
From the following differential equation estimate y(1) using RK 4th order method.
dxdy+2x2y=4withy(0)=1
[Takeh=0.5]
[5]
3.
Solve the Poisson'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]
Solving System of Linear Equations
1.
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=21214534−4−51−20−332,b=121888
[10]
2.
Solve the following set of equations using Gauss Seidel method.