Question
How far do you jog each morning? You prefer to jog in different locations each day and do not have a pedometer to measure your
How far do you jog each morning? You prefer to jog in different locations each day and do not have a pedometer to measure your distance. Create an application to determine the distance jogged given the average number of strides ran during the fist minute, average number ran during the last minute, and the total minutes jogging.
Design a modularized solution (with methods) in PYTHON to display the distance traveled.
Pedometers measure the distance you run. However, you can also do a good estimate of the distance if you know your foot stride, how many strides you complete per minute, and the number of minutes you job. Foot stride is the distance covered by one average step length. Since everyone has a different foot size, strides differ. Manny people average 3 feet per setup when jogging. For this application, assume the foot stride is 2.5 feet. There are 5,280 feet in a mile.
To establish how many strides per minutes, allow the user to input the number of strides made during the first minute jogging and the number of strides made string the last minutes of jogging. Use the average of those values to represent the strides per minute. Allow the user to input the total time spent jogging in hours and minutes. Write code that will display to distance traveled in miles.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started