50/60 = 0.8333 is Olivia's number of hrs run
Mandi's speed is 0.8*60/10=48/10=4.8
Amy is fastest runner as she ran 3.1 miles in 30 minutes i.e., 6.2 miles per hour/60 minutes.
Mandi, Amy, Nicole, and Olivia all ran different distances in different time intervals. Their distances (in
miles) and times (in minutes) are as follows:
----------
name <- c("Mandi", "Amy", "Nicole", "Olivia")
distance <- c(0.8, 3.1, 2.8, 4.0)
time <- c(10, 30, 40, 50)
-------------------
Write a line of code to convert time to hours. Remember there are 60 minutes in an hour. Then write a line of code to calculate the speed of each runner in miles per hour. Speed is distance divided by time.
Q1:
How many hours did Olivia run?
-------------------
Q2: What was Mandi's speed in miles per hour?
--------------------------
Q3: Which runner had the fastest speed?
--------------------
1 answer