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
gayaneshka [121]
3 years ago
13

Create a flowchart that describes the following algorithm and then write Python code to implement the algorithm. Write the Pytho

n code in a Python program file, NOT in the IDLE window. Include in your HW PDF document a photo of your flowchart and a screenshot of your program code. Also include in your HW PDF a screenshot of the output that appears in the IDLE window.

Engineering
1 answer:
Naya [18.7K]3 years ago
3 0

Answer:

<em>Python code is as follows: </em>

********************************************************************************

#function to get number up to any number of decimal places

def toFixed(value, digits):

return "%.*f" % (digits, value)

print("Enter the price: ", end='', flush=True) #prompt for the input of price

price = float(input()) #taken input

totalCost = price + 0.05 * price #calculating cost

print("Total Cost after the sales tax of 5% is applied: " + toFixed(totalCost,2)) #print and output totalCost

************************************************************************************

You might be interested in
Two wastewater treatment plant workers (one male and one female) are exposed to hydrogen sulfide in confined spaces in the treat
Vlada [557]

Answer:

Go to explaination for the details of the answer.

Explanation:

In order to determine the lifetime (75 years) chronic daily exposure for each individual, we have to first state the terms of our equation:

CDI = Chronic Daily Intake

C= Chemical concentration

CR= Contact Rate

EFD= Exposure Frequency and Distribution

BW= Body Weight

AT = Average Time.

Having names our variables lets create the equations that will be used to derive our answers.

Please kindly check attachment for details of the answer.

5 0
2 years ago
Ronny wants to calculate the mechanical advantage. He needs to determine the length of the effort arm and the length of the load
kakasveta [241]

Answer:

I hope it's helpful.

Explanation:

Simple Machines

Experiments focus on addressing areas pertaining to the relationships between effort force, load force, work, and mechanical advantage, such as: how simple machines change the force needed to lift a load; mechanical advantages relation to effort and load forces; how the relationship between the fulcrum, effort and load affect the force needed to lift a load; how mechanical advantage relates to effort and load forces and the length of effort and load arms.

Through investigations and models created with pulleys and levers, students find that work in physical terms is a force applied over a distance. Students also discover that while a simple machine may make work seem easier, in reality the amount of work does not decrease. Instead, machines make work seem easier by changing the direction of a force or by providing mechanical advantage as a ratio of load force to effort force.

Students examine how pulleys can be used alone or in combination affect the amount of force needed to lift a load in a bucket. Students find that a single pulley does not improve mechanical advantage, yet makes the effort applied to the load seem less because the pulley allows the effort to be applied in the direction of the force of gravity rather than against it. Students also discover that using two pulleys provides a mechanical advantage of 2, but that the effort must be applied over twice the distance in order to gain this mechanical advantage Thus the amount of work done on the load force remains the same.

Students conduct a series of experiments comparing the effects of changing load and effort force distances for the three classes of levers. Students discover that when the fulcrum is between the load and the effort (first class lever), moving the fulcrum closer to the load increases the length of the effort arm and decreases the length of the load arm. This change in fulcrum position results in an increase in mechanical advantage by decreasing the amount of effort force needed to lift the load. Thus, students will discover that mechanical advantage in levers can be determined either as the ratio of load force to effort force, or as the ratio of effort arm length to load arm length. Students then predict and test the effect of moving the fulcrum closer to the effort force. Students find that as the length of the effort arm decreases the amount of effort force required to lift the load increases.

Students explore how the position of the fulcrum and the length of the effort and load arms in a second-class lever affect mechanical advantage. A second-class lever is one in which the load is located between the fulcrum and the effort. In a second-class lever, moving the load changes the length of the load arm but has no effect on the length of the effort arm. As the effort arm is always longer than the load arm in this type of lever, mechanical advantage decreases as the length of the load arm approaches the length of the effort arm, yet will always be greater than 1 because the load must be located between the fulcrum and the effort.

Students then discover that the reverse is true when they create a third-class lever by placing the effort between the load and the fulcrum. Students discover that in the case of a third-class lever the effort arm is always shorter than the load arm, and thus the mechanical advantage will always be less than 1. Students also create a model of a third-class lever that is part of their daily life by modeling a human arm.

The CELL culminates with a performance assessment that asks students to apply their knowledge of simple machine design and mechanical advantage to create two machines, each with a mechanical advantage greater than 1.3. In doing so, students will demonstrate their understanding of the relationships between effort force, load force, pulleys, levers, mechanical advantage and work. The performance assessment will also provide students with an opportunity to hone their problem-solving skills as they test their knowledge.

Through this series of investigations students will come to understand that simple machines make work seem easier by changing the direction of an applied force as well as altering the mechanical advantage by afforded by using the machine.

Investigation focus:

Discover that simple machines make work seem easier by changing the force needed to lift a load.

Learn how effort and load forces affect the mechanical advantage of pulleys and levers.

8 0
2 years ago
In the lab, a container of saturated soil had a mass of 113.27 g before it was placed in the oven and100.06 g after the soil had
kipiarov [429]

Answer:

  • Moisture/ water content w = 26%
  • Void ratio , e =  0.73

Explanation:

  • Initial mass of saturated soil w1 = mass of soil - weight of container

                                                 = 113.27 g - 49.31 g = 63.96 g

  • Final mass of soil after oven w2 = mass of soil - weight of container

                                                  = 100.06 g - 49.31 g = 50.75

Moisture /water content, w =   \frac{w1-w2}{w2} = \frac{63.96-50.75}{50.75} = 0.26 = 26%

Void ratio =  water content X specific gravity of solid

                  = 0.26 X 2.80 =0.728

5 0
3 years ago
Please help me I don’t understand
Lapatulllka [165]

Answer:

A battery changes chemical energy to <u>electrical</u> energy

A drum changes mechanical energy to <u>sound</u> energy

Explanation:

A battery is a device that stores chemical energy and converts it to electrical energy.

Beating a drum represents a mechanical to sound energy  conversion.

4 0
3 years ago
Read 2 more answers
How much does 1 gallon of water weigh in pound given that the density of water is 1gram/ cm3
MAXImum [283]

Explanation:

There are 8.35 pounds in a gallon of water. Water weighs 1 gram per cubic centimeter or 1 000 kilogram per cubic meter, i.e. density of water is equal to 1 000 kg/m³; at 25°C (77°F or 298.15K) at standard atmospheric pressure.

6 0
2 years ago
Other questions:
  • In a tensile test on a steel specimen, true strain is 0.171 at a stress of 263.8 MPa. When true stress is 346.2 MPa, true strain
    7·1 answer
  • A company specification calls for a steel component to have a minimum tensile strength of 1240 MPa. Tension tests are conducted
    7·1 answer
  • Due at 11:59pm please help
    14·1 answer
  • Refrigerant 134a enters a horizontal pipe operating at steady state at 40oC, 300 kPaand a velocity of 40 m/s. At the exit, the t
    13·1 answer
  • An aircraft is in a steady level turn at a flight speed of 200 ft/s and a turn rate about the local vertical of 5 deg/s. Thrust
    8·1 answer
  • Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's
    11·2 answers
  • Do you think the industrial revolution helped or hurt workers? Why?
    8·1 answer
  • A segment of a roadway has a free flow speed of 45 mph and a jam density of 25 ft per vehicle. Determine the maximum flow and at
    12·1 answer
  • Draw the free-body diagram of the beam which supports the 80-kg load and is supported by the
    12·1 answer
  • How does science and technology address the problems of the society?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!