Sei sulla pagina 1di 5

SMAM

351


Exam 2

Name_________________

1. 1. The random variable X representing the number of errors per 100


lines of software code has the following probability distribution.

x
2
3
4
5
6

p(x) 0.01 0.25 0.4 0.3 0.04


A. What is the probability that 100 lines of software code has at least four
errors?(5 points)

P(X 4) = 0.4 + 0.3 + 0.04 = .74


B. What is the expected number of errors in 100 lines of software code?(5
points)

EX = 2(.01) + 3(.25) + 4(.4) + 5(.3) + 6(.04) = 4.11

C. What is the variance and standard deviation of of the number of errors in


100 lines of software code?(5 points)

EX 2 = 22 (.01) + 32 (.25) + 42 (.4) + 52 (.3) + 62 (.04) = 17.63


2 = 17.63 (4.11)2 = .7379(var iance)
= .859(s tan dard deviation)

D. What would be the expected number of errors in 500 lines of software


code?(3 points)
5x4.092= 20.46

2. In testing a certain kind of truck tire over a rugged terrain it is found


that 25% of the trucks have a blowout during the test run.
A.What is the probability that for the next 20 trucks tested?
(1) At least one has a blowout?(4 points)

P(X 1) = 1 P(X = 0) = 1 (.75)20 = .997


or
1-Binomcdf(20,.25,0)=.997

(2) Between three and five trucks inclusive have a blowout?(4 points)

P(3 X 5) = 20 (.25)3 (.75)17 + 20 (.25)4 (.75)16 + 20 (.25)5 (.75)15 = 5259


3
4
5
binomcdf(20,.25,5)binomcdf(20,.25,2)=.5259

(3) Exactly fourteen trucks do not have a blowout?(4 points)

P(X = 14) = 20 (.75)14 (.25)6 = .1686


14
B. Suppose that trucks are tested until a certain number of them had a
blowout. What is the probability that
(1) At most four trials are required until the first blowout.(4 points)



P(X 4) = (.25) + (.75)(.25) + (.75)2 (.25) + (.75)3 (.25) = .6836


(2) Exactly ten trials are required until the fifth blowout.(4 points)

9
5
5

(.75) (.25) = .0292


4







3. The number of customers arriving per hour at a certain automobile
service facility is a Poisson distribution with mean 7. What is the
probability that
A. At most two customers arrive during an hour?(4 points)

7 2 7
P(X 2) = e + 7e + e = .0296
2!
poissoncdf(7,2)=.0296
7

B. Exactly ten customers arrive during a two hour period?(4 points)

P(X = 10) = P(X = 10) =

1410 14
e = .0663
10!


Poissonpdf(14,10)=.0663

4. A government task force suspects that some manufacturing companies are


in violation of federal pollution regulations with regard to dumping of a
certain type of product. Twenty firms are under suspicion but all cannot be
inspected. Suppose three of the firms are in violation. Suppose that five firms
are inspected.
A. Write a formula for the pmf of the number x of firms that are found to be
in violation. (6 points)

3 17

x 5 x
f (x) =
, x = 0,1,2,3
20

5




B. What is the probability that exactly two firms are found to be in violation?
(4 points)

3 17

2 3
f (2) =
= .1316
20

5


5. A continuous random variable X has probability density function


x 0 < x < 2
f (x) = 2

0
otherwise

Find

A. P(0<X<1) (4 points)
1

x
x2
1
P(0 < X < 1) = dx =
=
0 2
4 0 4
1

B. Find the mean of X. (4 points)



2

EX =

x2
x3
4
dx =
=
2
6 0 3

C. Find the standard deviation of X. (4 points)


EX =
2

x3
x4
dx =
2
8

=2
0

16 2
2 = 2
=
9 9
= 0.4714

D.Find c so that P(0 < X < c) =

9
(4 points)
16

x
c2 9
dx
=
=
0 2
4 16
9
c2 =

4
3
c=
2




6.The finished inside diameter of a piston ring is normally distributed with a
mean of 10 centimeters and a standard deviation of .03 cm.
c


A. What proportion of the rings will have inside diameter exceeding 10.075
cm? (8 points)

10.075 10
P(X > 10.075) = P Z >
= P(Z > 2.5) = 1 P(Z 2.5)
.03

= 1 .9938 = .0062

B. Below what diameter will 15% of the piston rings fall? (8 points)

P(X < c) = .15

c 10
P Z <
= .15
.03

c 10
= 1.036
.03
c = 10 1.036(.03) = 9.9689




7. Use the normal approximation to the binomial distribution to do this
problem. Make the continuity correction.
A process yields 10% defective items. If 100 items are randomly selected
approximate the probability that the number of defectives is at most 8. (12
points)

= 100(.10) = 10

= 100(.10)(.90) = 3

8.5 10
P(X 8) = P Z <
= P(Z < .5) = .3085
3

Potrebbero piacerti anche