Here Are Some Examples For Combustion Engineering and Machine Design 1 For Mechanical Engineering Students
Here Are Some Examples For Combustion Engineering and Machine Design 1 For Mechanical Engineering Students
Example 4
Solution:
P(A)P(A) = 0.590.59
P(A)+P(B)P(A)+P(B) = 11
∴ 0.59+P(B)∴ 0.59+P(B) = 11
One hundred people line up to board an airplane. Each has a boarding pass with
assigned seat. However, the first person to board has lost his boarding pass and
takes a random seat. After that, each person takes the assigned seat if it is
unoccupied, and one of unoccupied seats at random otherwise. What is the
probability that the last person to board gets to sit in his assigned seat?
Solution:
Look at the situation when the k’th passenger enters. Neither of the previous
passengers showed any preference for the k’th seat vs. the seat of the first
passenger. This in particular is true when k = n. But the n’th passenger can
only occupy his seat or the first passenger’s seat. Therefore the probability is
1/2.
Example 6
A fair coin is tossed, and a fair die is thrown. Write down sample spaces for
(a) the toss of the coin;
(b) the throw of the die;
(c) the combination of these experiments.
Let A be the event that a head is tossed, and B be the event that an odd
number is thrown. Directly
from the sample space, calculate P(A ∩B) and P(A ∩B).
SOLUTION:
A ∩B.
Example 7
M&M sweets are of varying colours and the different colours occur in different
proportions. The table
below gives the probability that a randomly chosen M&M has each colour, but the
value for tan candies
is missing.
SOLUTION:
(a) The probabilities must sum to 1.0 Therefore, the answer is
1−0.3−0.2−0.2−0.1−0.1 = 1−0.9 = .1.
(b) Simply add and subtract the appropriate probabilities.
i. 0.3+0.2 = 0.5 since it can’t be brown and red simultaneously (the events are
incompatible).
ii. 1 − P(yellow) = 1 − 0.2 = 0.8.
iii. 1 − P(orange or tan) = 1 − P(orange) − P(tan) = 1 − 0.1 − 0.1 = 0.8 (since orange
and
tan are incompatible events).
iv. This must happen; the probability is 1.0
Example 8
Consider the following experiment. You draw a square, of width 1 foot, on the
floor. Inside the square,
You inscribe a circle of diameter 1 foot. The circle will just fit inside the
square.
You then throw a dart at the square in such a way that it is equally likely to fall
on any point of the
square. What is the probability that the dart falls inside the circle? (Think
about area!)
How might this process be used to estimate the value of π?
SOLUTION:
All points in the square are equally likely so that probability is the ratio of the
area of the circle to
the area of the square. The area of the square is 1 and the area of the circle is
π/4 (since the radiusis 1/2). If you don’t know _ you can estimate it by
repeating the experiment a very large number of
times. Then _ will be approximately the same as the proportion of times the
dart fall in the circle
multiplied by 4.
Example 9
There are 2 green and 5 black marbles. If one marble is chosen at random
then what is the probability of getting green marble.
Solution:
Example 10
What is the probability of tossing two heads in a row?
Since we already did the math, we know that the probability of tossing a
heads is 1/2.
We also know that this doesn't change. No matter how many times we flip the
coin, there will always be two options, one of which is heads. So the chance
of tossing a heads is still 1/2.
(1/2) * (1/2) = ?
Solution:
When multiplying fractions, multiply the numerators (top numbers) and then
the denominators (the bottom numbers). Don't forget to simplify the product.
(½)*( ½) = ¼
So the product is 1/4. There is a 1:4 or 25% chance of getting two heads in a
row.