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
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
Water enters a boiler at a temperature of 110°F. The boiler is to produce 2000 lb/hr of steam at a pressure of 130 psia. How man
strojnjashka [21]
Yes it does the answer is no
5 0
2 years ago
What precautions should be taken to avoid the overloading of domestic electric circuits.
madam [21]

The precautions that should be taken to avoid the overloading of domestic electric circuits are:

  1. Do not put high voltage wires in one socket.
  2. Do not use many electric appliances of high power at the same time.
<h3>What are electric circuits?</h3>

Electric circuits are wires or devices that give electricity to devices that run on electricity. Running of electric devices should be done carefully because our body can come in contact with the current.

Thus, the precautions are to keep high voltage lines away from one socket. Use only a few high-power electric appliances at once.

To learn more about electric circuits, refer to the below link:

brainly.com/question/28221759

#SPJ4

4 0
2 years ago
A circular column is fixed at the base and not supported at the top. If the column needs to be 15ft and hold 10kips, what is the
muminat

Answer:

The required size of column is length = 15 ft and diameter = 4.04 inches

Explanation:

Given;

Length of the column, L = 15 ft

Applied load, P = 10 kips = 10 × 10³ Psi

End condition as fixed at the base and free at the top

thus,

Effective length of the column, \L_e = 2L = 30 ft = 360 inches

now, for aluminium

Elastic modulus, E = 1.0 × 10⁷ Psi

Now, from the Euler's critical load, we have

P =\frac{\pi^2EI}{L_e^2}

where, I is the moment of inertia

on substituting the respective values, we get

10\times10^3 =\frac{\pi^2\times1.0\times10^7\times I}{360^2}

or

I = 13.13 in⁴

also for circular cross-section

I = \frac{\pi}{64}\times d^4

thus,

13.13 = \frac{\pi}{64}\times d^4

or

d = 4.04 inches

The required size of column is length = 15 ft and diameter = 4.04 inches

3 0
3 years ago
Do the following addition exercises by translating the numbers into 8-bit 2's complement binary numbers, performing the arithmet
Ganezh [65]

Answer:

I am attaching a file with the solution and explanation as the number character limit is exceeding.

Explanation:

Download docx
8 0
3 years ago
Other questions:
  • g In the above water treatment facility, chemical concentration (mg/gal) within the tank can be considered uniform. The initial
    8·1 answer
  • A freshwater jet boat takes in water through side vents and ejects it through a nozzle of diameter D = 75 mm; the jet speed is V
    5·1 answer
  • Select all that apply.
    13·1 answer
  • שאלה 2 - כתיבת קוד (35 נק')
    12·1 answer
  • What is the magnitude of the maximum stress that exists at the tip of an internal crack having a radius of curvature of 3 × 10-4
    15·1 answer
  • Compared to 15 mph on a dry road, about how much longer will it take for
    12·2 answers
  • During genetic engineering, how do Restriction enzymes know what base pairs to act on?
    10·1 answer
  • a coil consists of 200 turns of copper wire and has a cross-sectional area of 0.8mm square . The mean length per turn is 80 cm a
    5·1 answer
  • Which of the following is not caused by alcohol?
    10·2 answers
  • Proper handling of blueprints includes which of the following
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!