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
What material property would still cause strain in a strain gauge that is positionedperpendicular to the direction of force if i
svetlana [45]

Answer:

oof

Explanation:

I don't know but please don't report me

I am trying to do a challenge

Thank you-

If you don't report me!

5 0
2 years ago
What do you mean by searching?​
nikitadnepr [17]

Answer:

thoroughly scrutinizing, especially in a disconcerting way.

Explanation:

8 0
3 years ago
Define an ADT for a two-dimensional array of integers. Specify precisely the basic operations that can be performed on such arra
VashaNatasha [74]

Answer:

Explanation:

ADT for an 2-D array:

struct array{

int arr[10];

}arrmain[10];

An application that stores an array with 1000 rows and 1000 columns, where less than 10,000 of the array values are non-zero. The two different implementations for such arrays that would be more space efficient than a standard two-dimensional array implementation requiring one million positions are :

1) struct array{

int *p;

}arr[1000];

2) struct array{

int *p;

}arr[1000];

6 0
3 years ago
Airflow through a long, 0.15-m-square air conditioning duct maintains the outer duct surface temperature at 10°C. If the horizon
Ulleksa [173]

The complete Question is:

Airflow through a long, 0.15-m-square air conditioning duct maintains the outer duct surface temperature at 10°C. If the horizontal duct is uninsulated and exposed to air at 35°C in the crawlspace beneath a home, what is the heat gain per unit length of the duct? Evaluate the properties of air at 300 K. For the sides of the duct, use the more accurate Churchill and Chu correlations for laminar flow on vertical plates.

What is the Rayleigh number for free convection on the outer sides of the duct?

What is the free convection heat transfer coefficient on the outer sides of the duct, in W/m2·K?

What is the Rayleigh number for free convection on the top of the duct?  

What is the free convection heat transfer coefficient on the top of the duct, in W/m2·K?

What is the free convection heat transfer coefficient on the bottom of the duct, in W/m2·K?

What is the total heat gain to the duct per unit length, in W/m?

Answers:

- 7709251  or 7.709 ×10⁶

- 4.87

- 965073

- 5.931 W/m² K

- 2.868 W/m² K

- 69.498 W/m

Explanation:

Find the given attachments for complete explanation

4 0
3 years ago
An office building is served by an air-cooled chiller currently operating at 115 tons (404.5 kW). The measured chilled water sup
Andrei [34K]

Answer:

B.197 gpm and 12.4 L/s

Explanation:

Given that

Load Q = 404.5 KW

Water inlet temperature= 6.1 °C

Water outlet temperature= 13.9°C

We know that specific heat for water

C_p=4.187\ \frac{KJ}{kg.K}

Now from energy balance

Q=\dot{m}C_p\Delta T

by putting the values

Q=\dot{m}C_p\Delta T

404.5=\dot{m}\times 4.187(13.9-6.1)

\dot{m}=12.38\ \frac{kg}{s}     (1 Kg/s = 15.85 gal/min)

We can say that

\dot{m}=196.31\ \frac{gal}{min}

We know that

\dot{m}=\rho\times volume\ flow\ rate

12.38=1000 x volume flow rate

volume\ flow\ rate\ = 12.38\times 10^{-3}\ \frac{m^3}{s}

So

volume flow rate = 12.38 L/s

So the option B is correct.

8 0
3 years ago
Other questions:
  • Show from the first principles that, for a perfect gas with constant specific heat capacities
    14·1 answer
  • In C++ the declaration of floating point variables starts with the type name float or double, followed by the name of the variab
    14·1 answer
  • A closed system undergoes an adiabatic process during which the work transfer into the system is 12 kJ. The system then returns
    14·1 answer
  • 21.13 The index of refraction of corundum (Al2O3) is anisotropic. Suppose that visible light is passing from one grain to anothe
    5·1 answer
  • Why is a crank-rocker mechanism more useful than a double-rocker mechanism?
    13·1 answer
  • Suppose that the time (in hours) required to repair a machine is an exponentially distributed random variable with parameter ???
    13·1 answer
  • One who is trained in math, science and physics in order to work in a branch of engineering
    7·2 answers
  • Water at 70 kPa and 1008C is compressed isentropically in a closed system to 4 MPa. Determine the final temperature of the water
    6·1 answer
  • Unitate de masura in SI pt F​
    11·1 answer
  • How to comment on brainly.com and I'm only 8-years-old so keep it simple please
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!