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
It is known that the connecting rod AB exerts on the crank BCa 2.5-kN force directed down andto the left along the centerline of
monitta

Answer:

M_c = 61.6 Nm

Explanation:

Given:

F_a = 2.5 KN

Find:

Determine the moment of this force about C for the two casesshown.

Solution:

- Draw horizontal and vertical vectors at point A.

- Take moments about point C as follows:

                         M_c = F_a*( 42 / 150 ) *88

                         M_c = 2.5*( 42 / 150 ) *88

                         M_c = 61.6 Nm

- We see that the vertical component of force at point A passes through C.

Hence, its moment about C is zero.

6 0
3 years ago
The density of a certain type of steel is 8.1 g/cm3. What is the mass of a 100 cm3 chunk of this steel
irina1246 [14]

Answer:

  810 g

Explanation:

Mass is the product of density and volume:

  m = ρV

  m = (8.1 g/cm³)(100 cm³) = 810 g

The mass of the chunk is 810 grams.

4 0
2 years ago
Which one of the following is a list of devices from least efficient to most efficient
Sergeu [11.5K]

Answer:

(A)-Light-Bulb, Automobile Engine, Power Plant, Electric Motor

Explanation:

To get the least efficient to the most efficient the chart below explains how to the get it

Incandescent light bulb-5%

Florescent light bulb-20%

Electric motor-90%

Power plant-35%

Automobile engine-25%

Home oil furnace-80%

4 0
3 years ago
Why does the auto industry prefer uniform (national) standards for automobile emissions as opposed to regionally varying standar
WINSTONCH [101]

Answer:

Explanation:

For automobile emission, a uniform standard is preferred, because no unnecessary advantage is given by it to any company that is located in particular states where the regional standards are less severe.

Since pollution has its impact across the states and in the whole of the USA, then there should be uniform standards across all the states. It will also invalidate the impact of regional standards as a factor in the selection of plant locations for the automobile company. It means that a state offering less valid emission standards, will attract more companies to herself and it will be against the other states who care more about the natural environment. It can make more states to opt for the permissive emission standards, that will be more harmful to the USA as a country, than the good. So, a uniform standard is preferred to eliminate it as a factor in plant location decisions.

Yes, uniform standards are beneficial to everyone, because it will bring effective control upon the pollution level because there will be no state where the culprit firm can hide. Besides, it is more effective as efforts done towards environment conservation.

3 0
3 years ago
Two production methods are being compared. One manual and the other automated. The manual method produces 10 pc per hour and req
Genrish500 [490]

Answer:

Check the explanation

Explanation:

Kindly check the attached image below to see the step by step explanation to the question above.

6 0
3 years ago
Other questions:
  • An air conditioner using refrigerant R-134a as the working fluid and operating on the ideal vapor-compression refrigeration cycl
    12·1 answer
  • As of January 1, 2018, Farley Co. had a credit balance of $534,000 in its allowance for uncollectible accounts. Based on experie
    10·1 answer
  • Sophia is designing a new welding shop for the local high school. Where should the compressed gas and fuel cylinders be stored?
    15·1 answer
  • n open feedwater heater operates at steady state with liquid water entering inlet 1 at 10 bar, 50°C. A separate stream of steam
    8·1 answer
  • For Laminar flow conditions, what size pipe will deliver 90 gpm of medium oil at 40°F (υ = 6.55 * 10^‐5)?
    12·1 answer
  • The air loss rate for a straight truck or bus with the engine off and the brakes
    11·1 answer
  • Describe the make-up of an internal combustion engine.<br> Pls answer quickly.
    5·1 answer
  • In a movie theater in winter, 510 people, each generation sensible heat at a rate of 80 W, are watching a movie. The heat losses
    11·1 answer
  • What are the materials and tools used to build a headgear?​
    5·1 answer
  • What is the difference between a modular home and a manufactured home?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!