Evaluate the following integration using Romberg integration.
$\int_{0}^{1} \frac{\sin x}{x} dx$
[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.
$x^2 + \cos(x) - e^{-x} - 2 = 0$
[10]
2.
Calculate a real negative root of following equation using Newton’s method for polynomial.
$x^4 + 2x^3 + 3x^2 + 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.