(Time: Hours) (Marks: 75) Please Check Whether You Have Got The Right Question Paper
(Time: Hours) (Marks: 75) Please Check Whether You Have Got The Right Question Paper
(Time: 𝟐 𝟐 hours)
[Marks: 75]
Please check whether you have got the right question paper.
N. B.: (1) All questions are compulsory.
(2) Make suitable assumptions wherever necessary and state the assumptions made.
(3) Answers to the same question must be written together.
(4) Numbers to the right indicate marks.
(5) Draw neat labeled diagrams wherever necessary.
(6) Use of Non-programmable calculator is allowed.
……1.1
where the dependent variable is a characteristic that usually reflects the behavior or state
of the system; the independent variables are usually dimensions, such as time and space,
along which the system’s behavior is being determined; the parameters are reflective of the
1
system’s properties or composition; and the forcing functions are external influences acting
upon the system.
The actual mathematical expression of Eq. (1.1) can range from a simple algebraic relationship
to large complicated sets of differential equations. For example, on the basis of
his observations, Newton formulated his second law of motion, which states that the time
rate of change of momentum of a body is equal to the resultant force acting on it. The
mathematical
expression, or model, of the second law is the well-known equation
F = ma …… (1.2)
where F = net force acting on the body (N, or kg m/s2), m = mass of the object (kg), and
a = its acceleration (m/s2).
b. Create a hypothetical floating-point number set for a machine that stores information using 7-
bit words. Employ the first bit for the sign of the number, the next three for the sign and the
magnitude of the exponent, and the last three for the magnitude of the mantissa.
Figure 3.8
2
c. Suppose that you have the task of measuring the lengths of a bridge and a rivet and come up
with 9999 and 9 cm, respectively. If the true values are 10,000 and 10 cm, respectively, compute
(i) the true error and (ii) the true percent relative error for each case.
Because we are dealing with a known function, we can compute values for
f(x) between 0 and 1. The results indicate that the function starts at f (0) = 1.2
and then curves downward to f (1) = 0.2. Thus, the true value that we are trying to predict
is 0.2.
The Taylor series approximation with n = 0 is
f (xi11) = 1.2
3
f. Explain blunders, formulation errors and data uncertainty.
Blunders:
Formulation Errors:
Data Uncertainty:
4
A Use the formula
𝑓(𝑥)
𝑥𝑛+1 = 𝑥𝑛 −
𝑓′(𝑥)
Answer 3.4256
c. Use the Secant method to find a solution to 𝑥 = 𝑐𝑜𝑠𝑥 correct up to 4 decimal places.
Answer: 0.739085
d. Given log 2 = 0.3010, log 3 = 0.4771, log 5 = 0.6990 and log 7 = 0.8451. Find the value of
log 47.
A X0=40, log40=1+log4=1+2log2=1.6020=y0
X1=42,log42=log7+log3+log2=1.6234=y1
X2=45,log45=2log3+log5=1.6532=y2
X=47,log47=……………=?=y
X3=49,log49=2log7=1.6902=y3
X4=50,log50=1+log5=1.6990=y4
Applying Lagrange’s interpolation formula(where x=47)
(𝑥−𝑥1)(𝑥−𝑥2)(𝑥−𝑥3)(𝑥−𝑥4) (𝑥−𝑥0)(𝑥−𝑥2)(𝑥−𝑥3)(𝑥−𝑥4)
log47= (𝑥0−𝑥1)(𝑥0−𝑥2)(𝑥0−𝑥3)(𝑥0−𝑥4)y0+(𝑥1−𝑥0)(𝑥1−𝑥2)(𝑥1−𝑥3)(𝑥1−𝑥4)y1+
(𝑥−𝑥0)(𝑥−𝑥1)(𝑥−𝑥3)(𝑥−𝑥4)
( 𝑥2−𝑥0)(𝑥2−𝑥1)(𝑥2−𝑥3)(𝑥2−𝑥4)
𝑦2
(𝑥−𝑥0)(𝑥−𝑥1)(𝑥−𝑥2)(𝑥−𝑥4) (𝑥−𝑥0)(𝑥−𝑥1)(𝑥−𝑥2)(𝑥−𝑥3)
+ (𝑥3−𝑥0)(𝑥3−𝑥1)(𝑥3−𝑥2)(𝑥3−𝑥4)
y3+(𝑥4−𝑥0)(𝑥4−𝑥1)(𝑥4−𝑥2)(𝑥4−𝑥3) 𝑦4
After substituting the values
Log47 = 1.6721
e. The table below gives the value of 𝑡𝑎𝑛𝜃. Evaluate 𝑡𝑎𝑛67°20′
𝜃 65° 66° 67° 68° 69°
𝑡𝑎𝑛𝜃 2.1445 2.2460 2.3559 2.4751 2.6051
A The difference table is
𝜃 Y = tan𝜃 ∆y ∆2 y ∆3 y ∆4 y
650 2.1445 0.1015 0.0884 0.0023 0.0078
660 2.2460 0.1099 0.0107 0.0101
670 2.3559 0.1192 0.0208
680 2.4751 0.1300
690 2.6051
5
= 2.3932
Correct value is 2.3945
f. From the table of Bessel function 𝐽𝑛 (1), estimate the value of 𝐽3 (1)
2
n −1 3 1 1 0 1 1 3 1
− − −
4 2 4 4 2 4
𝐽𝑛 (1) -0.4401 0.0447 0.4311 0.6694 0.7652 0.7522 0.6714 0.5587 0.4401
Use Newton’s backward interpolation formula.
Let n =5
(2−1)
Hence h = 5 = 0.2
X0=1 1.2 1.4 1.6 1.8 2.0
Y0=0.6321 Y1=0.5823 Y2=0.5381 Y3=0.4988 Y4=0.4637 Y5=0.4323
Trapezoidal Rule
6
= 0.51674
dy
e. Solve x y ; y(1) = 1 for the interval 1 (0.1) 1.2, using method of Taylor series.
dx
A Y0=x0=1
X1=1.1 y1=?
X2=1.2 y2=?
h=0.1
y’=x+y y’0=2
y”=1+y’ y”0=3
y”’=y” y”’0=3
yiv=y”’ yiv0=3
hence by Taylor series
ℎ𝑦′ ℎ𝑦" ℎ𝑦′′′ ℎ𝑦 𝑖𝑣
y(1.1)=yo+ 0 + 0+ 0
+ 0
+…….
1 2! 3! 4!
Y(1.1)=1.2155
Y(1.2)=1.3486
dy y x
f. Solve , where y(0) = 1, to find y(0.1) using Runge-Kutta method.
dx y x
𝑦−𝑥
f(x,y)=𝑦+𝑥
A
x0=0 y0=1
h=0.1
k1=h.f(x0,y0)= 0.1f(0,1)
k1=0.1
ℎ
k2=hf(x0+ ,y0+k1)
2
k2=0.1 f(0.05,0.2)
k2=0.06
1
k=2(k1+k2)
k=0.08
y1=y0+k
y1=1+0.08
y1=1.08 at x1=0.1
7
Consider the table
no
x Y xy X2
1 0.5 0.5 1
2 2.5 5.0 4
3 2.0 6.0 9
4 4.0 16.0 16
5 3.5 17.5 25
6 6.0 36.0 36
7 5.2 36.4 49
∑x =28 ∑y=23.7 ∑xy=118 ∑ X2=140
8
using initial guesses 𝑎0 = 1 𝑎𝑛𝑑 𝑎1 = 1. (Use Gauss Newton Method)
d Maximize 50x 100y subject to 10x 5y 2500; 4x 10y 2000; x 1.5y 450and
x 0; y 0
A Maximize Z= 50x + 100y
Subject to
10x+5y≤ 2500 ………….(1)
4x+10y≤ 2000 ………….(2)
X+1.5y≤ 450 …………(3)
9
And x≥ 0,y≥ 0
Convert the given constraints into equations 10x+5y= 2500 , 4x+10y= 2000 , X+1.5y= 450
Consider 10x+5y= 2500 𝑤𝑒 𝑔𝑒𝑡
X 0 250
y 500 0
X 0 12 X 0 10
y 12 0 y 25 0 X 0 30
y 10 0
10
Vertex Z=20x +30y
O=(0,0) 0
A=(0,10) 300
B=(5,8) 340
C=(4,5) 230
D=(10,0) 200
The maximum contribution come upto point b=(5,8) as x=5 and y=8
f An aged person must receive 4000 units of vitamin, 50 units of minerals and 1400 calories a
day. A dietician advises to thrive on two foods F1 and F2 that cost Rs 4 and Rs 2 respectively
per unit of food. It one unit of F1 contains 200 units of vitamins, 1 unit of mineral and 40 calories
and one unit of F2 Contains 100 units of vitamins 2 units of minerals and 40 calories, formulate
a linear programming model to minimize the cost of diet.
A
Product Food F1 Food F2 Requirements
Vitamins 200 100 4000
Minerals 1 2 50
Calories 40 40 1400
Cost/Units 4 2
Z=4x+2y
Subject to
200x+100y≥4000
x+2y≥50
40x+40≥1400
x,y≥0
11
b) P(x < b) = Integral 0 to b ∫ 6x(1-x) dx
P( x > b) = integral b to 1 ∫ 6x(1-x) dx
∫ 6x(1-x) dx =3x^2-2x^3
3b^2-2b^3 = [3(1)^2-2(1)^3 - 3b^2+2b^3]
3b^2-2b^3 = [ 1-3b^2+2b^3]
6b^2 -4b^3-1=0
b=1/2
b. Define and explain the concept of probability density function.
A Where the continuous probability distribution takes place called as probability distribution function.
Let X be a continuous random variable. The function f|(X) is called the probability density function of x,
if it satisfies the following
i) f(x)≥ 0 xℰ 𝑅
∞
ii) ∫−∞ 𝑓(𝑥) 𝑑𝑥
Note :
i) If x takes in a<x<b then the function f(x) is such that
ii) 𝑓(𝑥) > 0 𝑓𝑜𝑟 𝑎 < 𝑥 < 𝑏
𝑏
iii) ∫𝑎 𝑓(𝑥) 𝑑𝑥 = 1
iv) 𝑖𝑓 (c,d) is an interval contained (a,b) then
𝑑
P(c<x<d) = ∫𝑐 𝑓(𝑥)𝑑𝑥 also P(c≤ 𝑥 ≤ 𝑑)=P(C<x∑ 𝑑)
𝑑
P(C≤ 𝑥 ≤ 𝑑) = ∫𝑐 𝑓(𝑥)𝑑𝑥
∴ P(X=c) =0=P(X=d)
c. The probability mass function of a random variable X is zero except at the points 𝑖 = 0, 1,2. At
these points it has the values 𝑝 (0) = 3𝑐 3 ,𝑝(1) = 4𝑐 − 10𝑐 2 , 𝑝(2) = 5𝑐 − 1 for some 𝑐 > 0.
(i) Determine the value of c.
(ii) Compute the following probabilities, 𝑃 (𝑋 < 2) 𝑎𝑛𝑑 𝑃 (1 < 𝑋 ≤ 2).
(iii) Describe the distribution function and draw its graph.
1
(iv) Find the largest x such that𝐹 (𝑥) < 2.
1
(v) Find the smallest x such that𝐹 (𝑥) ≥ 3.
A
12
** Consider a as c
13
d. What is exponential distribution? Suppose the time till death after infection with Cancer, is
exponentially distributed with mean equal to 8 years. If X represents the time till death after
infection with Cancer, then find the percentage of people who die within five years after
infection with Cancer.
A Exponential distribution:
The exponential probability distribution is a continuous probability distribution that is useful in
describing the time it takes to complete some task. The pdf for an exponential probability
distribution is given by formula below (where µ is the mean of the probability distribution and
e = 2.71828 to five decimal places.
1 −𝑥
𝑓(𝑥) = 𝑒 𝜇 𝑓𝑜𝑟 𝑥 ≥ 0
𝜇
The graph for the pdf of a typical exponential distribution is shown below:
The percentage of people who die within five years after infection with cancer is
5
𝑃(𝑋 ≤ 5) = 1 − 𝑒 −8 = 1 − 𝑒 −0.625 = 1 − 0.535 = 0.465 𝑖. 𝑒. 46.5 %
14
e. The price for a litre of whole milk is uniformly distributed between Rs. 45 and Rs. 55 during
July in Mumbai. Give the equation and graph the pdf for X, the price per litre of whole milk
during July. Also determine the percent of stores that charge more than Rs. 54 per litre.
A The equation of pdf is
1 1
𝑓(𝑥) = = = 0.1 45 < 𝑥 < 55
55 − 45 10
=0 elsewhere
The pdf is shown in the figure below:
pdf
0.12
0.1
0.08
0.06
0.04
0.02
0
45 46 47 48 59 50 51 52 53 54 55
0.1
0.08
0.06
0.04
0.02
0
45 46 47 48 59 50 51 52 53 54 55
f. The monthly worldwide average number of airplane crashes of commercial airlines is 2.2.What
is the probability that there will be (i)more than 2 such accidents in the next month? (ii) more
than 4 such accidents in the next 2 months?
15
A
_____________________________
16