You are on page 1of 1

EEN-291: Engineering Analysis and Design

Electrical Engineering Department


Indian Institute of Technology Roorkee
Assignment on Numerical Methods

𝑑𝑦
Q.1 Given the differential equation = 𝑥 − 𝑦 with initial condition 𝑦(0) = 0. The value of
𝑑𝑥
𝑦(0.1) calculated numerically up to the third place of decimal by the 2nd order Runge-Kutta
method with step size h=0.1.
Q.2 Find the roots of the equation 𝑥 2 − 2 = 0 using Newton Raphson method with initial value
x0=-1. Show that the obtained root converges to -√2 with four decimal points.
𝑑𝑦
Q.3 Apply Runge-Kutta method of 3rd Order where 𝑑𝑥 = 𝑥 + 𝑦, 𝑦 = 1 when x=0, h=0.2. Compute
𝑦(0.2).
𝑑𝑦(𝑥)
Q.4 Consider the differential equation − 𝑦(𝑥) = 𝑥 with initial condition 𝑦(0) = 0. Using
𝑑𝑥
Euler’s first order Method with step size h=0.1, find the value of 𝑦(0.3).
Q.5 A 2nd degree polynomial f(x) takes a following value
x 0 1 2
f(x) 1 4 15
2
Evaluate ∫0 𝑓(𝑥)𝑑𝑥 using Trapezoidal rule. Find the Error estimation.
2𝜋
Q.6 Evaluate ∫0 𝑆𝑖𝑛 𝑥 𝑑𝑥 by Trapezoidal rule with eight equal intervals with five significant
digits.
𝑑𝑦
Q.7 Find an appropriate value for x=0.2 using backward Euler method where 𝑑𝑥 = 𝑥 + 𝑦 , 𝑦(0) =
1, where step size h=0.1.
𝑑𝑦
Q.8 Apply Runge-Kutta method of 4th Order, where = 𝑥 + 𝑦, 𝑦(0) = 1, h=0.2. Compute
𝑑𝑥
𝑦(0.2).
Q.9 Given a>0, we wish to calculate its reciprocal value 1/a by using Newton-Raphson method
for 𝑓(𝑥) = 0. For a=7 and starting with 𝑥0 = 0.2, find the value of 1/a for the first two iterations.

Q.10 A numerical solution of the equation 𝑓(𝑥) = 𝑥 + √𝑥 − 3 = 0 can be obtained using


Newton-Raphson method. If the starting value is x=2 for the first iteration, find the value of x that
is used in the next iteration.

You might also like