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