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
sergeinik [125]
3 years ago
10

g A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output

is the miles walked. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('{:.2f}'.format(your_value))
Engineering
2 answers:
Nataly [62]3 years ago
8 0

Answer:

# Program is written in Python Programming Language

# Comments are used for explanatory purpose

# Program starts here

# Accept input

Steps = input (Number of Steps: ")

# Calculate distance

distance = float(2000) * float(steps)

#Print Formatted Result

print('%0.2f' % distance)

# End of Program

.--------

The above program converts number of steps to miles.

At line 5, the number of steps is inputted and stored in variable named Steps.

At line 6, the number of miles is calculated by multiplying 2000 by the content of variable Steps

The result is printed at line 8

Novosadov [1.4K]3 years ago
5 0

Answer:

steps = int(input("Enter the number of steps: "))

miles = steps / 2000

print('{:.2f}'.format(miles))Explanation:

You might be interested in
Some_____
Thepotemich [5.8K]

Answer:

it’s IGS

Explanation:

because i read

5 0
3 years ago
A steel bar 100 mm long and having a square cross section 20 mm x 20 mm is pulled in
Ierofanga [76]

Answer:

222.5 Gpa

Explanation:

From definition of engineering stress, \sigma=\frac {F}{A}

where F is applied force and A is original area

Also, engineering strain, \epsilon=\frac {\triangle l}{l} where l is original area and \triangle l is elongation

We also know that Hooke's law states that E=\frac {\sigma}{\epsilon}=\frac {\frac {F}{A}}{\frac {\triangle l}{l}}=\frac {Fl}{A\triangle l}

Since A=20 mm* 20 mm= 0.02 m*0.02 m

F= 89000 N

l= 100 mm= 0.1 m

\triangle l= 0.1 mm= 0.1\times 10^{-3} m

By substitution we obtain

E=\frac {89000\times 0.1}{0.02^{2}\times 0.1\times 10^{-3}}=2.225\times 10^{11}= 225.5 Gpa

5 0
3 years ago
A single phase molor is located
belka [17]

Answer:

hyguhttbjjgccd h jb

Explanation:

hcufugibibuguguv

5 0
3 years ago
-Electronic control modules can easily evaluate the voltage and current levels of circuits to which they are connected and deter
erma4kov [3.2K]

Answer:

multiplexing

Explanation:

3 0
3 years ago
░░░░░░░░░░░░░░░░░░░▄▀▐░░░▌
allsm [11]

Answer:

wow

Explanation:

that's so cute!!!!!!!!

3 0
3 years ago
Other questions:
  • An air conditioner using refrigerant R-134a as the working fluid and operating on the ideal vapor-compression refrigeration cycl
    12·1 answer
  • Show that the solution of thin airfoil theory of a symmetric airfoil given below satisfies the Kutta condition. What angle of at
    11·1 answer
  • If 20 kg of iron, initially at 12 °C, is added to 30 kg of water, initially at 90 °C, what would be the final temperature of the
    6·1 answer
  • Technician A says that a magnetic field can be created by current flow. Technician B says that current can be induced by moving
    5·1 answer
  • Thermal energy storage systems commonly involve a packed bed of solid spheres, through which a hot gas flows if the system is be
    13·1 answer
  • Adore.aaliyah_ add me loves !
    7·1 answer
  • Which energy source would you rank as the best option for the rescue team? Why?
    9·1 answer
  • In the SI system of units, the absolute temperature is measured to be 303 K Its value in Fahrenheit is a-) 76 F b)- 86F c)-79 F
    9·1 answer
  • Thoughts on Anime?<br> Whats your fav
    10·2 answers
  • Which of the following suggestions would best help alleviate the Gulf of Mexico dead zone?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!