1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
postnew [5]
3 years ago
14

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 d

istance. 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) 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.
Engineering
1 answer:
Mashutka [201]3 years ago
7 0

Answer:

The program is given below with appropriate comments for better understanding

Explanation:

#Program

# foot stride = 2.5 feet

# 1 mile = 5280 feet

no_stride_first_min = int(input('Enter the number strides made durng the first minute of jogging: '))

no_stride_last_min = int(input('Enter the number strides made durng the last minute of jogging: '))

avg_stride_one_min = (no_stride_first_min + no_stride_last_min)/2 # calculates the average stride per minute

jogging_duration = float(input('Enter the total time spent jogging in hours and minute: '))

jogging_duration_hours = int(jogging_duration) # gets the hour

jogging_duration_min = jogging_duration - int(jogging_duration) # gets the minute

tot_jogging_duration_min = jogging_duration_hours*60 + jogging_duration_min # calculates total time in minutes

dist_feet = (avg_stride_one_min*2.5)*tot_jogging_duration_min # calculates the total distance in feet

dist_miles = dist_feet/5280 # calculates the total distance in mile

print('Distance traveled in miles = {0:.2f} miles'.format(dist_miles))

You might be interested in
The collar A, having a mass of 0.75 kg is attached to a spring having a stiffness of k = 200 N/m . When rod BC rotates about the
gladu [14]

Answer:

Speed=1.633 m/s

Force= 20 N

Explanation:

Ideally, v^{2}=\frac {ks^{2}}{m} hence v=s\sqrt {\frac {k}{m}} where v is the speed of collar, m is the mass of collar, k is spring constant and s is the displacement.

In this case, s=100-0=100mm=0.1m since 1 m is equivalent to 1000mm

k is given as 200 N/m and mass is 0.75 Kg

Substituting the given values

v=0.1 m\sqrt \frac {200 N/m}{0.75 Kg}=1.632993162 m/s\approx 1.633 m/s

Therefore, <u>the speed is 1.633 m/s</u>

The sum of vertical forces is given by mg where g is acceleration due to gravity and it's value taken as 9.81 m/s^{2}

Therefore, F_y=0.75\times 9.81=7.3575 N\approx 7.36 N

The sum of forces in normal direction is given by Ma_n=Ks therefore

Ma_n=200*0.1=20 N

Therefore, <u>normal force on the rod is 20 N</u>

5 0
3 years ago
A hub a signal that refreshes the signal strength.
vekshin1

Answer:You are a network engineer. While moving a handheld wireless LAN device, you notice that the signal strength increases when the device is moved from a ...

Explanation:

7 0
2 years ago
To 3 significant digits, what is the temperature of water in degrees C, if its pressure is 350 kPa and the quality is 0.01
liq [111]

Answer:

138.9 °C

Explanation:

The datum of quality is saying to us that liquid water is in equilibrium with steam. Saturated water table gives information about this liquid-vapour equilibrium. In figure attached, it can be seen that at 350 kPa of pressure (or 3.5 bar) equilibrium temperature is 138.9 °C

3 0
3 years ago
Convert 250 lb·ft to N.m. Express your answer using three significant figures.
vfiekz [6]

Answer:

It will be equivalent to 338.95 N-m

Explanation:

We have to convert 250 lb-ft to N-m

We know that 1 lb = 4.45 N

So foe converting from lb to N we have to multiply with 4.45

So 250 lb = 250×4.45 =125 N

And we know that 1 feet = 0.3048 meter

Now we have to convert 250 lb-ft to N-m

So 250lb-ft=250\times 4.45N\times 0.348M=338.95N-m

So 250 lb-ft = 338.95 N-m

6 0
3 years ago
The temperature of a system rises by 10 °C during a heating process. Express the rise in temperature of K, R, and °F.
Lorico [155]

Explanation:

Given T = 10 °C

The conversion of T( °C) to T(K) is shown below:

T(K) = T( °C) + 273.15  

So,  

T = (10 + 273.15) K = 283.15 K

<u>T = 283.15 K </u>

The conversion of T( °C) to T(F) is shown below:

T (°F) = (T (°C) × 9/5) + 32  

So,

T (°F) = (10 × 9/5) + 32 = 50 °F

<u>T = 50 °F</u>

The conversion of T( °C) to T(R) is shown below:

T (R) = (T (°C) × 9/5) + 491.67

So,

T (R) = (10 × 9/5) + 491.67 = 509.67 R

<u>T = 509.67 R</u>

6 0
3 years ago
Other questions:
  • Anyone have 11th grade engineering on odyssey ware?
    8·1 answer
  • What is the correct statement regarding the stress over the section of a shaft in torsion?
    13·1 answer
  • 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 d
    14·1 answer
  • Create a C language program that can be used to construct any arbitrary Deterministic Finite Automaton corresponding to the FDA
    6·1 answer
  • Is someone an engineer that can help me?plz
    11·1 answer
  • When -iron is subjected to an atmosphere of hydrogen gas, the concentration of hydrogen in the iron, CH (in weight percent), is
    5·1 answer
  • Cryogenic liquid storage. Liquid oxygen is stored in a thin-walled spherical container, 96 cm in diameter, which is further encl
    10·1 answer
  • Tony works as a Sorter in a processing factory. Which qualifications does he most likely have?
    10·2 answers
  • Air is compressed in a well insulated compressor from 95 kPa and 27 C to 600 kPa and 277 C. Use the air tables; assume negligibl
    11·1 answer
  • PLEASE ANSWER SOON
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!