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
Steam enters an adiabatic turbine at 8 MPa and 500C with a mass flow rate of 3
Vinil7 [7]

Answer:

a)temperature=69.1C

b)3054Kw

Explanation:

Hello!

To solve this problem follow the steps below, the complete procedure is in the attached image

1. draw a complete outline of the problem

2. to find the temperature at the turbine exit  use termodinamic tables to find the saturation temperature at 30kPa

note=Through laboratory tests, thermodynamic tables were developed, these allow to know all the thermodynamic properties of a substance (entropy, enthalpy, pressure, specific volume, internal energy etc ..)  

through prior knowledge of two other properties such as pressure and temperature.  

3. Using thermodynamic tables find the enthalpy and entropy at the turbine inlet, then find the ideal enthalpy using the entropy of state 1 and the outlet pressure = 30kPa

4. The efficiency of the turbine is defined as the ratio between the real power and the ideal power, with this we find the real enthalpy.

Note: Remember that for a turbine with a single input and output, the power is calculated as the product of the mass flow and the difference in enthalpies.

5. Find the real power of the turbine

3 0
3 years ago
Brazing, Soldering and Adhesive Bonding are the types of • Liquid Solid System Welding Solid State Welding • Fusion Welding . No
olga_2 [115]

Answer: Solid state welding

Explanation: Solid state welding is the welding procedure which is based on the temperatures and pressure but without any liquid or vapor as aid for welding.This process is carried mainly cohesive forces and considering forces as less important. Brazing,soldering and adhesive is the process in which material are joint which the help of solid welding agent.Thus solid state welding is the correct option.

6 0
3 years ago
You are driving on a roadway with multiple lanes of travel in the same direction, and are approaching an emergency vehicle parke
solmaris [256]

Answer: a. Leave the lane closest to the emergency as soon as it is safe to do so, or slow down to a speed of 20 MPH below the posted speed limit.

Explanation:

Giving a way to the law enforcement vehicle and a medical emergency vehicle is necessary. If one approaches an emergency vehicle parked along the roadway one should change the lane as the vehicle may not move and the driver may also waste his or her time also one should also slow down his or her speed while approaching the vehicle as most of the emergency vehicle are in rush to reach the hospital so the driver should maintain some distance with the medical emergency vehicle.

7 0
3 years ago
How much does It cost to make a tracking chip
Basile [38]

Answer:

about 4 grand

Explanation:

6 0
2 years ago
A) Total Resistance<br> b) Total Current<br> c) Current and Voltage through each resistor
Varvara68 [4.7K]
C my friend 20 characters suck
3 0
3 years ago
Other questions:
  • Are engineers needed in today’s society ? Why or why not ? I need a short three paragraph essay !!! Please help me !!!
    13·1 answer
  • Given the unity feedback system
    5·1 answer
  • Often an attacker crafts e-mail attacks containing malware designed to take advantage of the curiosity or even greed of the reci
    14·1 answer
  • This question allows you to practice proving a language is non-regular via the Pumping Lemma. Using the Pumping Lemma (Theorem 1
    10·1 answer
  • If a person runs a distance of 0.7 km in 3 min, what is his average speed in kilometres/hour ​
    7·1 answer
  • The ________________ attraction between the Earth and the moon is ______________ on the side of the Earth that happens to be ___
    5·1 answer
  • Oliver is designing a new children’s slide to increase the speed at which a child can descend. His first design involved steel b
    15·1 answer
  • GMA MIG weiding is a
    7·1 answer
  • What is an example of a traditional career?
    6·2 answers
  • Explain the concept of energy conversion as applied to the generation of electricity also known as electrical energy​
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!