Ch 7 - 23, 25

7.23

Question

Pasted image 20241024121241.png

X is syntax errors, Y is logic errors:

Proof
a.

P(X>Y)=x>yp(x,y)=.03+.02+.01+.03+.01+.01=.11

b.

x 0 1 2 3
pX(x) .78 .12 .07 .03
y 0 1 2
pY(y) .77 .14 .09
c.
Notice that p(0,0)=.71.6006=pX(0)pY(0) so then they are independent.

d.

μX=xxpX(x)=0.78+1.12+=.35 syntax err.sμY=yypY(y)=0.77+1.14+2.09=.32 logic err.s

e.

E(P)=E(1004X9Y)=1004μX9μY=95.72 pts

7.25

Question

Pasted image 20241024122445.png
Pasted image 20241024122535.png

Proof

x1 0 1 2 3 4
pX1(x1) .19 .30 .25 .14 .12
x2 0 1 2 3
pX2(x2) .19 .30 .28 .23
μX1=0.19+1.30+=1.7 customersμX2=0.19+1.30+=1.55 customersμX1X2=μX1μX2=0.15 customers