Let's break it down by what is given to us:
Speed of the escalator = S steps/second (moving from bottom to top)
Length of the escalator = 80 steps
Alice:
Speed = 2 steps/second
Since she is moving with the escalator, from bottom to top, her speed becomes 2+S steps/second
Bob:
Speed = 3 steps/second
Since he is moving in the opposite direction of the escalator, from top to bottom, his speed becomes 3-S steps/second
Time taken by Alice to cover 80 steps is \(T seconds\)
Time taken by Bob to cover 80 steps is \(4T seconds\)
We are supposed to find the following:
- \(t\) = Time in seconds that it took for Alice and Bob to meet
- \(n\) = Number of steps Alice walked while moving up the escalator
First, let's find \(t\):
Time to meet can be put in an equation as = \(\frac{(Total distance)}{(Relative speed of Alice and Bob)}\)
Total distance = 80 steps
Relative speed of Alice and Bob = Speed of Alice + Speed of Bob
(Remember, we add their speeds because they are moving in the opposite direction)- Relative speed = 2+S+3-S = 5 steps/second
Putting it in the formula to calculate time, we get, \(t\) = 16 seconds
Second, let's find \(n\):
We know, for Alice, \(T\) = \(\frac{80}{(2+S)}\)
And for Bob, \(4T\) = \(\frac{80}{(3-S)}\)
Solving these two equations, we get S = 2 steps/second
Notice for Alice, she has to cover a distance of 80 steps, when she herself is walking at 2 steps/second and the escalator is also covering 2 steps/second for her
- In other words, for the distance she has to cover, half is being covered by her walking, and the other half is being covered by the escalator
- So, of the 80 steps she covered, 40 were covered by her walking
So, \(n\) = 40
So the final answer becomes:
\(t\) = 16 seconds\(n\) = 40 steps