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
Consider the problem of oxygen transfer from the interior lung cavity, across the lung tissue, to the network of blood vessels o
aalyn [17]

Answer:

See attached images

8 0
3 years ago
One kilogram of "as received" yard trimmings is made up of approximately 620 g moisture, 330 g of decomposable organic matter (r
Evgesh-ka [11]

Answer:

Explanation:

(a) Given that 620g moisture and 330g decomposable organic matter in yard trimming is represented by C₁₂.₇₆H₂₁.₂₈O₉.₂₆N₀.₅₄

Given the atomic mass of Carbon C = 12, Hydrogen H = 1, Oxygen O = 16 and Nitrogen N = 14

1 mole of trimming = 12*12.76 + 1*21.28 + 16*9.26 + 14*0.54

=  153.12 + 21.28 + 148.16 + 7.56

= 330.12 g/mol

which means 1 kg of as received trimming has 330 g of decomposable that produce 1 mole of decomposable

The moles of methane produced will be given as

m = (4a + b -2c - 3d)/8

= (4*12.76 + 21.28 - 2*9.26 - 3*0.54)/8

= (51.04 + 21.28 - 18.52 - 1.62)/8

= 52.18/8

= 6.5225

(b) Volume of methane V is given as

V = (0.0224 m³ CH₄mol/CH₄) × (6.5225 mol CH₄/ kg)

= 0.1461 m³ CH₄/kg lawn trimmings

(c) Energy will be given as

CH₄Energy = 6.5225 mol of CH₄/kg × 890 kJ/mol

= 5805.025

≈ 5805 kJ/kg

5 0
3 years ago
4. From two permeability tests it is found that the void ratio and hydraulic conductivity of a normally consolidated clay are 1.
vesna_86 [32]

Answer:

Explanation:

Check attachment for solution

8 0
3 years ago
Convert 850 nm wavelength into frequency, eV, wavenumber, joules and ergs.
BabaBlast [244]

Answer:

Frequency = 3.5294×10¹⁴ s⁻¹

Wavenumber = 1.1765×10⁶ m⁻¹

Energy = 2.3365x 10⁻¹⁹ J , 1.4579 eV , 2.3365x 10⁻¹² erg

Explanation:

Given the wavelength = 850 nm

1 nm = 10⁻⁹ m

So, wavelength is  850×10⁻⁹ m

The relation between frequency and wavelength is shown below as:

c = frequency × Wavelength

Where, c is the speed of light having value = 3×10⁸ m/s

So, Frequency is:

Frequency = c / Wavelength

Frequency=\frac {3\times 10^8\ m/s}{850\times 10^{-9}\ m}

Frequency = 3.5294×10¹⁴ s⁻¹

Wavenumber is the reciprocal of wavelength.

So,

Wavenumber = 1 / Wavelength  = 1 / 850×10⁻⁹ m

Wavenumber = 1.1765×10⁶ m⁻¹

Also,

Energy=h\times frequency

where, h is Plank's constant having value as 6.62x 10⁻³⁴ J.s

So,

Energy = 6.62x 10⁻³⁴ J.s × 3.5294×10¹⁴ s⁻¹

Energy = 2.3365x 10⁻¹⁹ J

Also,

1 J = 6.24×10¹⁸ eV

So,

Energy = 2.3365x 10⁻¹⁹ × 6.24×10¹⁸ eV

Energy = 1.4579 eV

Also,

1 J = 10⁷ erg

So,

Energy = 2.3365x 10⁻¹⁹ × 10⁷ erg

Energy = 2.3365x 10⁻¹² erg

8 0
3 years ago
What are the eight steps of the informed<br> design process?
Nata [24]

Answer:

step1: define the problem

step2: do background research

step3: specify requirements

step 4: brainstorm evaluate and choose solution

step 5:develop and prototype solution

step 6: test solution

step 7: does your solution meet the requirements

step 8: communicate results

6 0
3 years ago
Other questions:
  • Gold and silver rings can receive an arc and turn molten. True or False
    12·2 answers
  • If a ball is dropped from a height​ (H) its velocity will increase until it hits the ground​ (assuming that aerodynamic drag due
    5·1 answer
  • What is a motor cycle motor made out of
    5·2 answers
  • A steam pipe passes through a chemical plant, where wind passes in cross-flow over the outside of the pipe. The steam is saturat
    13·1 answer
  • If you measure 0.7 V across a diode, the diode is probably made of
    6·1 answer
  • 6
    5·1 answer
  • A 4.4 HP electric motor spins a shaft at 2329 rpm. Find: The torque load carried by the shaft is closest to: Select one: a)-27.0
    11·1 answer
  • Determine the wattmeter reading when it is connected to resistor load.​
    11·1 answer
  • A Styrofoam cup (k = 0.010 W/(m∙ o C)) has cross-sectional area (A) of 3.0 x 10 −2m 2 . The cup is 0.589 cm thick (L). The tempe
    12·1 answer
  • the left rear brake drum is scored, but the right rear drum looks as good as new. technician a says the left-side drum should be
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!