Assignment 1
Assignment 1
Assignment 1
Q.1 The velocity of a particle at time t from a point on its path is given by the table
Time (t) 0 10 20 30 40 50 60
Velocity (v) 47 58 64 65 61 52 38
Estimate the time (t) when velocity is v = 60 using cubic interpolating polynomial and Lagrange
interpolation method?
x
f ( x ) x tanh( ) 1
Q.2 The single positive zero of the function 2 models the wave number of the
water wave at a certain frequency in water of depth 0.5 (donot worry about the units here). Find
two points which bracket the zero of f ( x ) ?
(7)
Q.3 Consider a simple electronic circuit with an input voltage, a resister and a diode. It can be shown
that the voltage across the diode can be found as the single positive zero of
x 3 x .
Use Newton-Raphson method to approximate the zero by taking initial value x 0 0.5 . Perform
three iterations using 8 decimal arithmetic with rounding.
(12)
Q.4 The following values of x and y were obtained in an experiment. It is required to estimate ,
the value of x for which y 0 .
x 0.9 1.1 1.2 1.5
y -0.43 -0.09 0.15 1.15
Estimate by fitting a quadratic polynomial to the data points for x 1.1 , 1.2 and 1.5 using
Lagrange Interpolation Formula.
Q.5 The measured temperatures during 3-hour period in suburb of Rawalpindi on 1st Apr 2010 are
given below
Time, PM 1 2 3.30 5
Q.6 The single positive zero of the function f ( x ) 2 x 2 Sinx 0.5 models the wave
number of the water wave at a certain frequency in water of depth 0.5.
(a) Give mathematical reason why Newtons method cannot be applied for approximation
of the root of f ( x ) with x 0 0
(b) Name appropriate method(s) for approximation of the root of f ( x ) in the interval [0
1]?
(4, 4)
Q.7 Consider a simple electronic circuit with an input voltage of 2.0 V, a resister of resistance 1000
and a diode. It can be shown that the voltage across the diode can be found as the single positive
zero of
x
2 x
14 0.026
f ( x) 1 10 e
1000 .
Apply Newton-Raphsons method to compute the root of f ( x ) , taking initial value of x 0 0.75 .
Do three iterations using 8 decimal arithmetic.
(12)
Q.8 Apply Lagrange interpolation formula based on the points x 0 0 , x1 1 and x 2 2.5 to find
2
f ( x)
the equation of the quadratic polynomial to approximate x 2 2 at x 2.3 .
(10)
Q.9 Consider a simple electronic circuit with an input voltage, a resister and a diode. It can be shown
that the voltage across the diode can be found as the single positive zero of
f ( x) 2 x 3 .
Use Newton-Raphson method to approximate the zero of f ( x ) , taking initial value of x 0 1.0 .
Do three iterations using 8 decimal arithmetic. (10)
Q.10 The following values of x and y were obtained in an experiment. It is required to estimate ,
the value of x for which y 0 .
x 0.9 1.1 1.2 1.5
y -0.43 -0.09 0.15 1.15
Estimate by fitting a quadratic polynomial to the data points for x 1.1 , 1.2 and 1.5 using
Newtons Divided Difference Formula. (10)