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
A cylindrical insulation for a steam pipe has an inside radius rt = 6 cm, outside radius r0 = 8 cm, and a thermal conductivity k
goldfiish [28.3K]

Answer:

heat loss per 1-m length of this insulation is 4368.145 W

Explanation:

given data

inside radius r1 = 6 cm

outside radius r2 = 8 cm

thermal conductivity k = 0.5 W/m°C

inside temperature t1 = 430°C

outside temperature t2 = 30°C

to find out

Determine the heat loss per 1-m length of this insulation

solution

we know thermal resistance formula for cylinder that is express as

Rth = \frac{ln\frac{r2}{r1}}{2 \pi *k * L}   .................1

here r1 is inside radius and r2 is outside radius L is length and k is thermal conductivity

so

heat loss is change in temperature divide thermal resistance

Q = \frac{t1- t2}{\frac{ln\frac{r2}{r1}}{2 \pi *k * L}}

Q = \frac{(430-30)*(2 \pi * 0.5 * 1}{ln\frac{8}{6} }

Q = 4368.145 W

so heat loss per 1-m length of this insulation is 4368.145 W

4 0
3 years ago
The results of a _________ test will determine if there is suitable drainage and the size of the drain field that will be requir
topjm [15]

Answer:

The results of a percolation test will determine if there is suitable drainage and the size of the drain field that will be required for a septic system.

7 0
2 years ago
The velocity profile for a thin film of a Newtonian fluid that is confined between the plate and a fixed surface is defined by u
zimovet [89]

Answer:

F = 0.0022N

Explanation:

Given:

Surface area (A) = 4,000mm² = 0.004m²

Viscosity = µ = 0.55 N.s/m²

u = (5y-0.5y²) mm/s

Assume y = 4

Computation:

F/A = µ(du/dy)

F = µA(du/dy)

F = µA[(d/dy)(5y-0.5y²)]

F = (0.55)(0.004)[(5-1(4))]

F = 0.0022N

8 0
3 years ago
An 800-kg drag racer accelerates from rest to 390 km/hr in 5.8 s. What is the net impulse applied to the racer in the first 5.8
marissa [1.9K]

Answer:

Impulse =14937.9 N

tangential force =14937.9 N

Explanation:

Given that

Mass of car m= 800 kg

initial velocity u=0

Final velocity v=390 km/hr

Final velocity v=108.3 m/s

So change in linear momentum P= m x v

           P= 800 x 108.3

 P=86640 kg.m/s

We know that impulse force F= P/t

So F= 86640/5.8 N

F=14937.9 N

Impulse force F= 14937.9 N

We know that

v=u + at

108.3 = 0 + a x 5.8

a=18.66\ m/s^2

So tangential force F= m x a

F=18.66 x 800

F=14937.9 N

6 0
3 years ago
Which of the following positions would be responsible for attaching I-beams to a crane?
prohojiy [21]

Answer:

Rigger

Explanation:

<em> work as one</em>

4 0
3 years ago
Other questions:
  • What are supercapacitors ?
    13·2 answers
  • Help me! Phone Phoebe on 07375410044.
    7·2 answers
  • The elastic settlement of an isolated single pile under a working load similar to that of piles in the group it represents, is p
    8·1 answer
  • The housing for a certain machinery product is made of two components, both aluminum castings. The larger component has the shap
    10·1 answer
  • Nitrogen gas is compressed at steady state from a pressure of 14.2 psi and a temperature 60o F to a pressure of 120 psi and a te
    7·1 answer
  • 2 Air enters the compressor of a cold air-standard Brayton cycle at 100 kPa, 300 K, with a mass flow rate of 6 kg/s. The compres
    7·1 answer
  • Marie and James are bubbling dry pure nitrogen (N2) through a tank of liquid water (H2O) containing ethane (C2H6). The vapor str
    5·1 answer
  • A restaurant and dairy are participating in a community digester pilot program within the UMD Industrial Park. The following was
    9·1 answer
  • You have a 12 volt power source running through a circuit that has 3kΩ of resistance, how many amps (in mA) can flow through the
    15·1 answer
  • A system samples a sinusoid of frequency 230 Hz at a rate of 175 Hz and writes the sampled signal to its output without further
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!