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
Florida's progressive DUI laws take ______<br> into account.
xz_007 [3.2K]

Answer:

Permanent felony conviction on your criminal record.

Financial restitution if DUI involves an accident, property damage or personal injury

Up to 50 hours community service or fee of $10 per hour of service.

Minimum fine of upto $1000 or $2000, that is if your blood alcohol level was 0.15%  or more than this, or you were driving with a minor in the vehicle.

Imprisonment of upto 9 months, if the blood alcohol level was over 0.15% or idf the DUI  resulted in ana accident or crash, jail time is increased to one year.

Mandatory imprisonment for not less than 10 days if your second DUI conviction occurs within 5 years of the date of the prior DUI conviction.

180 days to one year probation.

Maximum of 5 years driver's license revocation.

Up to 30 days impoundment of vehicle.

Ignition interlock device.

Criminal record stating adjudication of guilt.

Explanation:

8 0
3 years ago
Creating vacancies in ceramics. Consider doping ZrO2 with small concentrations of Nb205. The valence of Nb is 5. Assume that Nb
Murljashka [212]

Answer:

Creating vacancies in ceramics. Consider doping ZrO₂ with small concentrations of Nb205. The valence of Nb is 5. Assume that Nb ions sit in Zr ion sites

a. A substitutional defect will be produced.

b. With this dopping, the Nb increases electron band conduction and decreases oxygen anion conduction in ZrO₂.

Explanation:

(a) The defect produced by dopping a little concentration of Nb₂O5 with Nb in the +5 charge state is known as a substitutional defect.

(b) With this dopping, the Nb increases electron band conduction and decreases oxygen anion conduction in ZrO₂.

Moreover, if oxygen vacancies are rate-limiting defect, the corrosion of ZrO₂ decreases and if electrons are rate-limiting then the corrosion of ZrO₂ is accelerated.

7 0
4 years ago
If a cylindrical part with a length of 20 mm and a diameter of 20 mm is to be machined to a cylindrical part with 18 mm in diame
bulgar [2K]

Answer:

Titanium Alloy

Explanation:

Length ( L ) = 20 mm

D1 = 20 mm

d2 = 18 mm

l = 20 mm

Mechanical efficiency = 50%

power = 80 kW

cutting rake angle = 0°

cutting speed ( v ) = 10 m/s

<u>Determine the material to be for the cylinder </u>

In order to choose a material for the cylinder we have to calculate the cutting force

P = Fc * V

80  = Fc * 10 m/s

therefore Fc = 80 / 10 = 8 N

Hence the material we can use is Titanium Alloy   due to low cutting force value

3 0
3 years ago
It was determined by the forensic engineers that the historic collapse of the Minneapolis Interstate Bridge was due to
Alexandra [31]

It was determined by the forensic engineers that the historic collapse of the Minneapolis Interstate Bridge was due to design and construction flaws. It led to the collapse of the structure.

<h3>What is the Minneapolis Interstate Bridge?</h3>

The Minneapolis Interstate Bridge is a well-known bridge that was constructed in Minneapolis city in 1967.

It has been demonstrated that the collapse of this bridge constructed in Minneapolis was due to its inadequate load capacity.

In architecture, it is fundamental to measure the amount of weight that a structure (in this case, a bridge) can sustain in a given period of time.

Learn more about the bridge construction here:

brainly.com/question/24686952

4 0
2 years ago
Methane (CH4) at 298 K, 1 atm enters a furnace operating at steady state and burns completely with 140% of theoretical air enter
lesya [120]
ATM enters a furnace operating at steady state and burns completely
4 0
4 years ago
Other questions:
  • A plane wall with surface temperature of 350°C is attached with straight rectangular fins (k = 235 W/m·K). The fins are exposed
    6·1 answer
  • Two parallel surfaces move relative to each other are separated by a gap of 0.375 in. The gap is filled by a fluid of with .0043
    5·1 answer
  • Consider the circuit below where R1 = R4 = 5 Ohms, R2 = R3 = 10 Ohms, Vs1 = 9V, and Vs2 = 6V. Use superposition to solve for the
    15·1 answer
  • Does the Diesel engine have sparkling plugs? If yes, for what reason?
    10·1 answer
  • Determine the maximum weight of the flowerpot that can besupported without exceeding a cable tension of 50 lb in eithercable AB
    15·1 answer
  • If you replace the text value in an associative dimension, the text value will not change when the
    9·1 answer
  • In a ground-water basin of 12 square miles, there are two aquifers: an upper unconfined aquifer 500 ft in thickness and a lower
    12·1 answer
  • What kinds of problems or projects would a civil engineer work on?
    14·1 answer
  • What is the horsepower of a 302 engine
    10·2 answers
  • FOR DARKEND1<br><br>÷<br><br><br>try copy and paste​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!