File

advertisement
ENGG 319
Assignment #1
Question 1:
In light-dependent photosynthesis, light quality refers to the
wavelengths of light that are important. The wavelength of a sample of
photosynthetically active radiations (PAR) is measured to the nearest nanometer.
The red range is 675–700 nm and the blue range is 450–500 nm. Let A denote the
event that PAR occurs in the red range and let B denote the event that PAR occurs
in the blue range. Describe the sample space and indicate each of the following
events:
Sample Space
A
πŸ”πŸ•πŸ“ − πŸ•πŸŽπŸŽ
B
πŸ’πŸ“πŸŽ − πŸ“πŸŽπŸŽ
𝐹𝑖𝑔 1: π‘†π‘Žπ‘šπ‘π‘™π‘’ π‘ π‘π‘Žπ‘π‘’ π‘‘π‘–π‘Žπ‘”π‘Ÿπ‘Žπ‘š π‘“π‘œπ‘Ÿ π‘žπ‘’π‘’π‘ π‘‘π‘–π‘œπ‘› #1
(a) A
Solution:
𝑆𝑖𝑛𝑐𝑒 675 ≤ 𝐴 ≤ 700
𝐴 = [675,700]
𝐴 = {675, … , 700}
(b) B
Solution:
𝑆𝑖𝑛𝑐𝑒 450 ≤ 𝐡 ≤ 500
𝐡 = [450,500]
𝐡 = {450, … , 500}
(c) 𝐴 ∩ 𝐡
Solution:
𝐽𝑒𝑑𝑔𝑖𝑛𝑔 π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘ π‘Žπ‘šπ‘π‘™π‘’ π‘ π‘π‘Žπ‘π‘’ π‘‘π‘–π‘Žπ‘”π‘Ÿπ‘Žπ‘š 𝑖𝑛 𝑓𝑖𝑔 1, 𝐴 π‘Žπ‘›π‘‘ 𝐡 β„Žπ‘Žπ‘£π‘’ π‘›π‘œπ‘‘β„Žπ‘–π‘›π‘” 𝑖𝑛 π‘π‘œπ‘šπ‘šπ‘œπ‘›.
𝐴∩𝐡 =∅
(d) 𝐴 ∪ 𝐡
Solution:
𝐽𝑒𝑑𝑔𝑖𝑛𝑔 π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ π‘ π‘Žπ‘šπ‘π‘™π‘’ π‘ π‘π‘Žπ‘π‘’ π‘‘π‘–π‘Žπ‘”π‘Ÿπ‘Žπ‘š 𝑖𝑛 𝑓𝑖𝑔 1,
𝐴 ∪ 𝐡 = [450,500] ∪ [675,700]
𝐴 ∪ 𝐡 = {450, … , 500, 675, … , 700}
Question 2:
Consider the hospital emergency room data in Example 2-8. Let A
denote the event that a visit is to Hospital 4 and let B denote the event that a visit
results in LWBS (at any hospital). Determine the following probabilities.
Needed:
𝑃(𝐴 ∩ 𝐡) = 𝑃(𝐴|𝐡) ∗ 𝑃(𝐡) = 𝑃(𝐡 ∩ 𝐴) = 𝑃(𝐡|𝐴) ∗ 𝑃(𝐴)
4329
𝑃(𝐴) =
= 0.1945
22252
953
𝑃 (𝐡 ) =
= 0.0428
22252
22252−4329
𝑃(𝐴′ ) = 1 − 𝑃(𝐴) = 22252 = 0.8055
𝑃(𝐡’) = 1 − 𝑃(𝐡) = 0.9572
242
𝑃(𝐡|𝐴) = 4329 = 0.0559
953−242
𝑃(𝐡|𝐴′ ) = 22252−4329 = 0.0397
(a) 𝑃(𝐴|𝐡)
Solution:
𝑃(𝐴|𝐡) ∗ 𝑃(𝐡) = 𝑃(𝐡|𝐴) ∗ 𝑃(𝐴)
𝑃(𝐡|𝐴) ∗ 𝑃(𝐴)
𝑃(𝐴|𝐡) =
𝑃(𝐡)
(0.0559)(0.1945)
𝑃(𝐴|𝐡) =
= 0.2539
0.0428
Page 1 of 3
ENGG 319
Assignment #1
(b) 𝑃(𝐴′|𝐡)
Solution:
′ |𝐡)
𝑃(𝐴
=
′
𝑃(𝐡 |𝐴 )∗𝑃(𝐴′ )
𝑃(𝐡)
=
0.0397∗0.8055
0.0428
= 0.7472
(c) 𝑃(𝐴|𝐡′)
Solution:
𝑆𝑖𝑛𝑐𝑒 𝑃(𝐴) = 𝑃(𝐴 ∩ 𝐡) + 𝑃(𝐴 ∩ 𝐡 ′ )
π‘‡β„Žπ‘’π‘Ÿπ‘’π‘“π‘œπ‘Ÿπ‘’, 𝑃(𝐴) = 𝑃(𝐴|𝐡) ∗ 𝑃(𝐡) + 𝑃(𝐴|𝐡 ′ ) ∗ 𝑃(𝐡 ′ )
𝑃(𝐴)−𝑃(𝐴|𝐡 )∗𝑃(𝐡)
0.1945−(0.2539∗0.0428)
𝑃(𝐴|𝐡 ′ ) =
=
= 0.1918
′
𝑃(𝐡 )
0.9572
(d) 𝑃(𝐡|𝐴)
Solution:
𝑃(𝐴|𝐡) ∗ 𝑃(𝐡) = 𝑃(𝐡|𝐴) ∗ 𝑃(𝐴)
𝑃(𝐴|𝐡 )∗𝑃(𝐡)
0.2539∗0.0428
𝑃(𝐡|𝐴) =
=
= 0.0559
𝑃(𝐴)
0.1945
Question 3:
A lot of 100 semiconductor chips contain 20 that are defective.
(a) Two are selected, at random, without replacement, from the lot. Determine the
probability that the second chip selected is defective.
Solution:
𝐿𝑒𝑑 𝐴 π‘‘π‘’π‘›π‘œπ‘‘π‘’ π‘‘β„Žπ‘’ π‘“π‘–π‘Ÿπ‘ π‘‘ π‘–π‘‘π‘’π‘š 𝑖𝑠 𝑑𝑒𝑓𝑒𝑐𝑑𝑖𝑣𝑒 π‘Žπ‘›π‘‘
𝐿𝑒𝑑 𝐡 π‘‘π‘’π‘›π‘œπ‘‘π‘’ π‘‘β„Žπ‘’ π‘ π‘’π‘π‘œπ‘›π‘‘ π‘–π‘‘π‘’π‘š 𝑖𝑠 𝑑𝑒𝑓𝑒𝑐𝑑𝑖𝑣𝑒
𝑃(𝐡) = 𝑃(𝐡|𝐴)𝑃(𝐴) + 𝑃(𝐡|𝐴′ )𝑃(𝐴′ )
20 19
20 80
𝑃(𝐡) = [(
)( ) + ( )(
)] = 0.2
100 99
99 100
(b) Three are selected, at random, without replacement, from the lot. Determine the
probability that all are defective.
Solution:
𝐿𝑒𝑑 𝐴 π‘‘π‘’π‘›π‘œπ‘‘π‘’ π‘‘β„Žπ‘’ 𝑒𝑣𝑒𝑛𝑑 π‘‘β„Žπ‘Žπ‘‘ π‘Žπ‘™π‘™ π‘–π‘‘π‘’π‘šπ‘  π‘Žπ‘Ÿπ‘’ 𝑑𝑒𝑓𝑒𝑐𝑑𝑖𝑣𝑒
20
19
18
𝑃(𝐴) = (100) ∗ (99) ∗ (98) = 0.00705
Question 4:
The following circuit operates if and only if there is a path of
functional devices from left to right. The probability that each device functions is as
shown. Assume that the probability that a device is functional does not depend on
whether or not other devices are functional. What is the probability that the circuit
operates?
Solution:
𝐿𝑒𝑑 𝑋 π‘‘π‘’π‘›π‘œπ‘‘π‘’ π‘‘β„Žπ‘’ 𝑒𝑣𝑒𝑛𝑑 π‘‘β„Žπ‘Žπ‘‘ π‘‘β„Žπ‘’ π‘ π‘¦π‘ π‘‘π‘’π‘š π‘€π‘œπ‘Ÿπ‘˜π‘ 
𝑃(𝑋) = 1 − 𝑃(𝑋 ′ )
𝑃(𝑋) = 1 − [1 − (0.9 ∗ 0.8 ∗ 0.7)][1 − (0.95 ∗ 0.95 ∗ 0.95)]
𝑃(𝑋) = 1 − [1 − 0.504][1 − 0.8574]
𝑃(𝑋) = 1 − (0.496)(0.1426)
𝑃(𝑋) = 1 − 0.07074 = 0.9293
Question 5:
Consider the well failure data in Exercise 2-53. Use Bayes'
Theorem to calculate the probability that a randomly selected well is in the gneiss
group given that the well is failed.
Solution:
𝐿𝑒𝑑 A π‘‘π‘’π‘›π‘œπ‘‘π‘’ π‘‘β„Žπ‘’ 𝑒𝑣𝑒𝑛𝑑 π‘‘β„Žπ‘Žπ‘‘ π‘‘β„Žπ‘’ 𝑀𝑒𝑙𝑙 𝑖𝑠 π‘“π‘Ÿπ‘œπ‘š π‘‘β„Žπ‘’ 𝐺𝑛𝑒𝑖𝑠𝑠 π‘”π‘Ÿπ‘œπ‘’π‘
𝐿𝑒𝑑 𝐡 π‘‘π‘’π‘›π‘œπ‘‘π‘’ π‘‘β„Žπ‘’ 𝑒𝑣𝑒𝑛𝑑 π‘‘β„Žπ‘Žπ‘‘ π‘‘β„Žπ‘’ 𝑀𝑒𝑙𝑙 πΉπ‘Žπ‘–π‘™π‘’π‘‘
𝑃(𝐴|𝐡) =?
1685
1685
𝑃(𝐴) = 1685+28+3733+363+309+1403+933+39 = 8493 = 0.1984
170+2+443+14+29+60+46+3
767
𝑃(𝐡) = 1685+28+3733+363+309+1403+933+39 = 8493 = 0.09031
170
𝑃(𝐡|𝐴) = 1685 = 0.1009
𝑃(𝐡 |𝐴)𝑃(𝐴)
0.1009∗0.1984
𝑃(𝐴|𝐡) =
= 0.09031 = 0.2216
𝑃(𝐡)
Page 2 of 3
ENGG 319
Assignment #1
Question 6:
Semiconductor lasers used in optical storage products require
higher power levels for write operations than for read operations. High-power-level
operations lower the useful life of the laser.
Lasers in products used for backup of higher-speed magnetic disks primarily write,
and the probability that the useful life exceeds five years is 0.95. Lasers that are in
products that are used for main storage spend approximately an equal amount of
time reading and writing, and the probability that the useful life exceeds five years is
0.995. Now, 25% of the products from a manufacturer are used for backup and 75%
of the products are used for main storage.
Let “A” denote the event that a laser's useful life exceeds five years, and let “B”
denote the event that a laser is in a product that is used for backup.
Using Fig 2;
Exceed 5 yrs.
Backup
𝑃(𝐡) = 0.25
𝑃(𝐴 ∩ 𝐡) = 0.2375
Less than 5 yrs.
𝑃(𝐴′ ∩ 𝐡) = 0.0125
Sample Space
(Lasers)
Exceed 5 yrs.
Main Storage
𝑃(𝐡′) = 0.75
𝑃(𝐴 ∩ 𝐡′) = 0.7463
Less than 5 yrs.
𝑃(𝐴′ ∩ 𝐡′) = 0.0038
(a)
𝑃(𝐡)
Solution:
25
𝑃(𝐡) =
= 0.25
100
(b)
𝑃(𝐴|𝐡)
Solution:
𝑃(𝐴|𝐡) = 0.95
(c)
𝑃(𝐴|𝐡 ′)
Solution:
𝑃(𝐴|𝐡’) = 0.995
Fig 2: Tree Diagram
(d) 𝑃(𝐴 ∩ 𝐡)
Solution:
𝑃(𝐴 ∩ 𝐡) = 𝑃(𝐴|𝐡)𝑃(𝐡)
𝑃(𝐴 ∩ 𝐡) = 0.95 ∗ 0.25 = 0.2375
(e) 𝑃(𝐴 ∩ 𝐡′)
Solution:
𝑃(𝐴 ∩ 𝐡 ′ ) = 𝑃(𝐴|𝐡 ′ )𝑃(𝐡 ′ )
𝑃(𝐴 ∩ 𝐡 ′ ) = 0.995 ∗ 0.75 = 0.7462
(f) 𝑃(𝐴)
Solution:
𝑃(𝐴) = 𝑃(𝐴|𝐡)𝑃(𝐡) + 𝑃(𝐴|𝐡 ′)𝑃(𝐡 ′ )
𝑃(𝐴) = (0.95 ∗ 0.25) + (0.995 ∗ 0.75) = 0.9837
(g) What is the probability that the useful life of a laser exceeds five years?
Solution:
A denotes the event that the Laser’s useful life exceeds five years.
𝑃(𝐴) = 0.9837
(h) What is the probability that a laser that failed before five years came from a
product used for backup?
Solution:
𝑃(𝐴′ |𝐡)𝑃(𝐡)
𝑃(𝐴′ |𝐡)𝑃(𝐡)
𝑃(𝐡|𝐴′ ) =
=
𝑃(𝐴′ )
𝑃(𝐴′ |𝐡)𝑃(𝐡) + 𝑃(𝐴′ |𝐡 ′ )𝑃(𝐡′ )
0.25 ∗ 0.05
𝑃(𝐡|𝐴′ ) =
= 0.7692
(0.05 ∗ 0.25) + (0.005 ∗ 0.75)
Page 3 of 3
Download