Docsity

Numerical Methods Assignment for EEN-291 at IIT Roorkee: Engineering Analysis and Design, Assignments of Green and Environmental Chemistry

Toggle sidebar
bg1
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
Evaluate โˆซ๐‘“(๐‘ฅ)๐‘‘๐‘ฅ
2
0 using Trapezoidal rule. Find the Error estimation.
Q.6 Evaluate โˆซ๐‘†๐‘–๐‘› ๐‘ฅ ๐‘‘๐‘ฅ
2๐œ‹
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.

Partial preview of the text

Download Numerical Methods Assignment for EEN-291 at IIT Roorkee: Engineering Analysis and Design and more Assignments Green and Environmental Chemistry in PDF only on Docsity!

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. The value of

๐‘ฆ( 0. 1 ) calculated numerically up to the third place of decimal by the 2

nd

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

x 0 =-1. Show that the obtained root converges to - โˆš

2 with four decimal points.

Q.3 Apply Runge-Kutta method of 3

rd

Order where

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ

= ๐‘ฅ + ๐‘ฆ, ๐‘ฆ = 1 when x=0, h=0.2. Compute

Q.4 Consider the differential equation

๐‘‘๐‘ฆ(๐‘ฅ)

๐‘‘๐‘ฅ

โˆ’ ๐‘ฆ(๐‘ฅ) = ๐‘ฅ with initial condition ๐‘ฆ

= 0. Using

Eulerโ€™s first order Method with step size h=0.1, find the value of ๐‘ฆ( 0. 3 ).

Q. 5 A 2

nd

degree polynomial f(x) takes a following value

x 0 1 2

f(x) 1 4 15

Evaluate โˆซ

2

0

using Trapezoidal rule. Find the Error estimation.

Q.6 Evaluate โˆซ ๐‘†๐‘–๐‘› ๐‘ฅ ๐‘‘๐‘ฅ

2 ๐œ‹

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

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ

1 , where step size h=0.1.

Q.8 Apply Runge-Kutta method of 4

th

Order, where

๐‘‘๐‘ฆ

๐‘‘๐‘ฅ

= ๐‘ฅ + ๐‘ฆ, ๐‘ฆ( 0 ) = 1 , h=0.2. Compute

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.