Yazmin decide to get some exercise by taking the stairs from the first to the fifth floor in her apartment building. The first time she went up the entire flight, she walked up some steps and ran up steps. This took a total of seconds. The second time she went up the entire flight, she walked up some steps and ran up steps. This took a total of seconds. How long would Yazmin take if she walked up the entire flight of steps (Assume constant rate for walking and running.)
Step-1: Find the equation for the first time walk:
Let the number of steps be .
Let her walking speed be steps per second and let her running speed be steps per second.
First Time:
She ran up steps:
Since total steps are , her walking up steps will be:
The time taken for walking up steps:
The time taken for running up steps:
Therefore, the total time taken for walking up and running up the steps first time will be:
Since the total time taken is , it follows that:
Step-2: Find the equation for the second time walk:
Second Time:
She ran up steps:
Since total steps are , her walking up steps will be:
Find the time taken for walking up steps:
Find the time taken for running up steps:
Therefore, the total time taken for walking up and running up the steps second time will be:
Since the total time taken is , it follows that:
Step-3: Solve equation (1) and (2):
Now, subtract the second equation from the first equation:
(divide both side of the equation by )
Step-4: Find the time taken to walked up the entire flight of steps:
Now, rewrite the first equation as follows:
Now, substitute for from the third equation:
Hence, she would have taken if she walked up the entire flight of steps.