Probability of getting an error in a program out of five programs
Now, three programs are selected randomly
Required probability that is Expectation E(x)
=1 ×Error in first one and No error in last two +2×Error in Second one and No error in first and last +3×Error in Third one and No error first and Second one
Please ensure that you've copied down this problem correctly. You speak of someone named "Yarin" but also speak of "my" and "I". Are there really two different people who "star" in this problem? Are you studying "ratios" right now?