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]
2 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]2 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]2 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
Which of the following is the last step in creating a budget?
Greeley [361]

Answer:

<em>D. Determine saving or debt</em>

Explanation:

7 0
3 years ago
The steel bracket is used to connect the ends of two cables. if the allowable normal stress for the steel is sallow = 30 ksi, de
garri49 [273]

The largest tensile force that can be applied to the cables given a rod with diameter 1.5 is 2013.15lb

<h3>The static equilibrium is given as:</h3>

F = P (Normal force)

Formula for moment at section

M = P(4 + 1.5/2)

= 4.75p

Solve for the cross sectional area

Area = \frac{\pi d^{2} }{4}

d = 1.5

\frac{\pi *1.5^{2} }{4}

= 1.767 inches²

<h3>Solve for inertia</h3>

\frac{\pi *0.75^4}{4}

= 0.2485inches⁴

Solve for the tensile force from here

\frac{F}{A} +\frac{Mc}{I}

30x10³ = \frac{P}{1.767} +\frac{4.75p*0.75}{0.2485} \\\\

30000 = 14.902 p

divide through by 14.902

2013.15 = P

The largest tensile force that can be applied to the cables given a rod with diameter 1.5 is 2013.15lb

Read more on tensile force here: brainly.com/question/25748369

4 0
2 years ago
A plane surface 25 cm wide has its temperature maintained at 80°C. Atmospheric air at 25°C ows parallel to the surface
Gre4nikov [31]

Answer:

See the detailed answer in attached file.

Explanation :

Download docx
3 0
3 years ago
A brass alloy is known to have a yield strength of 275 MPa (40,000 psi), a tensile strength of 380 MPa (55,000 psi), and an elas
zlopas [31]

Answer:

The magnitude of the load can be computed  because it is mandatory in order to produce the change in length ( elongation )

Explanation:

Yield strength = 275 Mpa

Tensile strength = 380 Mpa

elastic modulus = 103 GPa

The magnitude of the load can be computed  because it is mandatory in order to produce the change in length ( elongation ) .

Given that the yield strength, elastic modulus and strain that is experienced by the test spectrum are given

strain = yield strength / elastic modulus

          = 0.0027

3 0
3 years ago
All boats must have a light on the boat but there are no rules as to wear it has to be *
Anastaziya [24]

Answer:

PLS IF YOU FIND IT HELPFUL GIVE ME BRAINLIEST

Explanation:

true

5 0
3 years ago
Other questions:
  • Paint can shaker mechanisms are common in paint and hardware stores. While they do a good job of mixing the paint, they are also
    15·1 answer
  • The two boxcars A and B have a weight of 20000lb and 30000lb respectively. If they coast freely down the incline when the brakes
    11·1 answer
  • Which of these is least likely a step in replacing a failed compressor?
    12·2 answers
  • List and explain 4 factors you need to observe while stick welding to make a good “consistent” bead
    12·1 answer
  • Consider a standard room thermostat. Determine the sensor, transducer, output, and control stages for this measurement system.
    13·1 answer
  • The author states that chemical engineering is one of the most difficult and complex aspects of engineering. Why do you think th
    7·2 answers
  • 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
  • A gas tank is known to have a thickness of 0.5 inches and an internal pressure of 2.2 ksi. Assuming that the maximum allowable s
    5·1 answer
  • Find the remaining trigonometric function of 0 if
    13·1 answer
  • Which of the following is not an electronic device ?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!