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
The error in the trapezoidal rule is proportional to h^2 True b. False
Lynna [10]

Answer:

b) False

Explanation:

in trapezoidal rule the error is proportional to h^3 and the order of accuracy is proportional to h^3 .

Trapezoidal rule is numerical integration method .Trapezoidal rule is used to find the area of curves.In trapezoidal rule we finds the approximate value of integration.But the real value of integration will not differ to much from the value which finds by using trapezoidal rule.

4 0
3 years ago
Deidre has just moved from the sales department into the finance department. On her first day in her new role, she receives an e
melisa1 [442]

Answer:

 d. The company uses role-based access control and her user account hasn't been migrated into the correct group(s) yet

Explanation:

Since Deidre is accessing her e-mail there appears to be nothing wrong with her account or password. Since her role is new, most likely the problem is associated with her new role.

3 0
2 years ago
A pipe of 0.3 m outer diameter at a temperature of 160°C is insulated with a material having a thermal conductivity of k = 0.055
Alekssandra [29.7K]

Answer:

Q=0.95 W/m

Explanation:

Given that

Outer diameter = 0.3 m

Thermal conductivity of material

K= 0.055(1+2.8\times 10^{-3}T)\frac{W}{mK}

So the mean conductivity

K_m=0.055\left ( 1+2.8\times 10^{-3}T_m \right )

T_m=\dfrac{160+273+40+273}{2}

T_m=373 K

K_m=0.055\left ( 1+2.8\times 10^{-3}\times 373 \right )

K_m=0.112 \frac{W}{mK}

So heat conduction through cylinder

Q=kA\dfrac{\Delta T}{L}

Q=0.112\times \pi \times 0.15^2\times 120

Q=0.95 W/m

4 0
3 years ago
Why did my dad leave me yesterday like whatd i do?
Vsevolod [243]

Answer:

hmm i would try calling him. ask your mom or other adults where he is!

Explanation:

hope you get help soon!

4 0
3 years ago
The uniform slender rod has a mass m.
Nikolay [14]

Answer: 3/2mg

Explanation:

Express the moment equation about point B

MB = (M K)B

-mg cosθ (L/6) = m[α(L/6)](L/6) – (1/12mL^2 )α

α = 3g/2L cosθ

express the force equation along n and t axes.

Ft = m (aG)t

mg cosθ – Bt = m [(3g/2L cos) (L/6)]

Bt = ¾ mg cosθ

Fn = m (aG)n

Bn -mgsinθ = m[ω^2 (L/6)]

Bn =1/6 mω^2 L + mgsinθ

Calculate the angular velocity of the rod

ω = √(3g/L sinθ)

when θ = 90°, calculate the values of Bt and Bn

Bt =3/4 mg cos90°

= 0

Bn =1/6m (3g/L)(L) + mg sin (9o°)

= 3/2mg

Hence, the reactive force at A is,

FA = √(02 +(3/2mg)^2

= 3/2 mg

The magnitude of the reactive force exerted on it by pin B when θ = 90° is 3/2mg

6 0
3 years ago
Other questions:
  • In an orthogonal cutting operation, the tool has a rake angle = 12°. The chip thickness before the cut = 0.32 mm and the cut yie
    5·1 answer
  • In order to protect yourself if you have a dispute with another drivers insurance company you should:
    9·1 answer
  • A force that attempts to decrease the length of a structural member is____
    14·1 answer
  • How much cornfield area would be required if you were to replace all the oil consumed in the United States with ethanol from cor
    14·1 answer
  • What ic engine for mechanic
    15·1 answer
  • Write the 5 important of profession education in a point​
    10·1 answer
  • A six-lane freeway (three lanes in each direction) in rolling terrain has 10-ft lanes and obstructions 5 ft from the right edge.
    9·1 answer
  • Estimate the maximum expected thermal conductivity for a Cermet that contains 58 vol% titanium carbide (TiC) particles in a coba
    8·1 answer
  • I want a real answer to this, not just take my points
    7·1 answer
  • How does error detection take place
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!