You are on page 1of 4

Ms160401233

Sidra Sohaib
CS723
Q1):
We measure for resistance R of each resistor in a production line and we accept only the
units; the
Resistance of those is between 96 and 104 ohm. Find percentage of accepted units if
I). R is uniform between 95 and 105 ohms
ii). R is normal with = 100 and = 2 ohms
Solution:
uniform distribution has pdf as
1
f ( x)
, a xb
ba
P(a x b)

So,
P(96 x 104)

1
ba

1
104 96

P(96 x 104) 0.125


Ans.
ii). R is normal with = 100 and
we have
= 100 and

= 2 ohms

=2

P(96 x 104) ?
P(96 x 104) P(

96 100 x 104 100

)
2

P(2 z 2) P(2 z 0) P(0 z 2)


P (2 z 2) 0.4772 0.4772 0.9544

95.44% ans.
Q2. If x is N (0,2) find

I).

P{1 x 2 }

ii).

P{1 x 2x 1 }

Solution:
P{1 x 2} ?

x 0, x2 2
x 2 1.41
1 0 x x 2 0

1.41

1.41
x

P{1 x 2} P

P{0.7092 z 1.41}
P{0.7092 z 1.41} P{z 1.41} P{z 0.7092}

P{0.7092 z 1.41} 0.9207 0.7613 0.1594

So,
P{1 x 2} 0.1594

P{1 x 2 | x 1} ?
2.
P{1 x 2 | x 1}

P{1 x 2, x 1}
P{x 1}

P{1 x 2}
P{x 1}

1 0 x x 2 0
P{

}
1.41
x
1.41
P{1 x 2}

x x 1 0
P{x 1}
P{

}
x
1.41
P{1 x 2} P{0.7092 z 1.41}

(1)
P{x 1}
P{Z 0.7092}

P{0.7092 z 1.41} P{z 1.41} P{z 0.7092}


P{0.7092 z 1.41} 0.9207 0.7613 0.1594

P{0.7092 z 1.41} 0.1594 (2)


P{Z 0.7092} 1 P{Z 0.7092}

P{Z 0.7092} 1 0.7613 0.2387


P{Z 0.7092} 0.2387 (3)
By putting (2) and (3) in (1), we have;
P{1 x 2} P{0.7092 z 1.41} 0.1594

P{x 1}
P{Z 0.7092}
0.2387
P{1 x 2} 0.1594

P{x 1}
0.2387
P{1 x 2}
0.6677
P{x 1}

P{1 x 2 | x 1} 0.6677
Q3. The random variable x is N (5,2) and y=2x+4, find y , yf y ( y)
Solution:
According to given statement
x 5, x 2 1.41
;
y 2x 4
Apply Expectation on both sides as
E y 2E x 4

y 2 x 4

x 5
By putting,
, we have
y 2(5) 4 14

y 14
Now for variance, we know that;
2y 4 x2

x2 2
By putting,

, we have

y2 4 2 8
y 8 2.82

y 2.82
f x ( x) 2

2 1/2
x

1 x x
exp

2 x

x2 2, x 5
By putting,

f x ( x ) 4

1/2

1
2
exp x 5
4

Similarly for y its pdf will written as;


1 y 2

y
2 1/2
f y ( y ) 2 y exp

2 y

2y 8, y 14
f y ( y ) 16

1/2

1
2
exp y 14
16

You might also like