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 volume at a section of a 2-lane highway is 1800 vph in each direction and the density is approximately 30 bpm. A slow moving
katrin [286]

Answer:

Idk

Explanation:

8 0
3 years ago
The advantages of solar cells include all of the following, except a.moderate net energy yield b.little or no direct emissions o
Xelga [282]

Answer:

C

Explanation:

One of the disadvantages of solar cells is that electricity storage systems are not readily available. Excess energy generated by the solar panels are wasted except they are stored by solar batteries for later use. There are various systems for storing electricity from solar cells apart from solar batteries which is the common storage system. An example of another electricity storage system for solar cell is using the water electrolyzer to store solar energy which can be used to later generate hydroelectricity.

Advantages of a solar cell includes Renewable energy, Economy-friendly and environmental-friendly energy and good durability

6 0
4 years ago
cThe Mars Rover Spirit got stuck in the Martian sand. The wheels kept slipping. Attempts to free it were futile. Discuss the typ
IgorC [24]

Answer:

Improved/ advanced types of Actuators include servo systems, create a large range of actuator motion in response to the changing needs of the operational environment or process.

Actuators are local or automated suppliers of working motion.

Hydraulic and air cylinders can be classified as single-acting cylinders, meaning that the energy source result in movement in one direction and a spring is used for the other direction.

Explanation:

An actuator control system is referred to as any electronic, electrical, or electromechanical system often used to activate an actuator, control the direction as well as extent and duration of its output. Actuator control systems could take the form of extremely simple, manually-operated, start-and-stop stations, either sophisticated or programmable computer systems. The more improved/ advanced types include servo systems that produce a large range of actuator motion in response to the changing needs of the operational environment or process. This type of actuator control system uses an interface arrangement that assimilates feedback from the process or mechanism and adjusts the actuator in the right way. Most actuator systems will include at least a set of travel limits that prevent the actuator destroying itself or the secondary mechanism.

Actuators are local or automated suppliers of working motion. They are used to changes, adjust, or move a secondary mechanism, where a physical operator cannot intervene directly. They are denoted by a large range of varying types using electrical and electromagnetic, hydraulic, or pneumatic power sources to create linear or rotary outputs. One element they all have in common is the actuator control system used to start, stop, and adjust the range, speed, and duration of the working motion.

Actuators can produce a linear motion, rotary motion or oscillatory motion which means they can create motion in one direction, in a circular motion or in opposite directions at regular intervals. Hydraulic and air cylinders can be classified as single-acting cylinders, meaning that the energy source result in movement in one direction and a spring is used for the other direction.

7 0
4 years ago
Information or signals entered into a computer system is
Virty [35]

<em>Logs.</em>

<em>Like data logs. Sometimes people make these logs to keep tabs on other people or to get important information put down somewhere that way it is saved and can be looked back upon later. Anytime someone makes an action on the computer, it makes a TMP file representing a log of what you want it to do before the computer quickly get's rid of the file.</em>

<em>-Ɽ3₮Ɽ0 Ⱬ3Ɽ0</em>

<em />

8 0
3 years ago
A well insulated turbine operates at steady state. Steam enters the turbine at 4 MPa with a specific enthalpy of 3015.4 kJ/kg an
Anarel [89]

Answer:

power developed by the turbine = 6927.415 kW

Explanation:

given data

pressure = 4 MPa

specific enthalpy h1 = 3015.4 kJ/kg

velocity v1 = 10 m/s

pressure = 0.07 MPa

specific enthalpy h2 = 2431.7 kJ/kg

velocity v2 = 90 m/s

mass flow rate = 11.95 kg/s

solution

we apply here  thermodynamic equation that

energy equation that is

h1 + \frac{v1}{2}  + q = h2 + \frac{v2}{2}  + w

put here value with

turbine is insulated so q = 0

so here

3015.4 *1000 + \frac{10^2}{2}  =  2431.7 * 1000 + \frac{90^2}{2}  + w

solve we get

w = 579700 J/kg = 579.7 kJ/kg

and

W = mass flow rate × w

W = 11.95 × 579.7

W = 6927.415 kW

power developed by the turbine = 6927.415 kW

7 0
3 years ago
Other questions:
  • The assembly consists of two red brass C83400 copper alloy rods AB and CD of diameter 30 mm, a stainless 304 steel alloy rod EF
    11·1 answer
  • Compute the fundamental natural frequency of the transverse vibration of a uniform beam of rectanqular cross section, with one e
    11·2 answers
  • Material with hardness of 220 Vickers is harder than material with a hardness of 180 Vickers. a)-True b)- False
    8·1 answer
  • A stream of air enters a 7.00-cm ID pipe at a velocity of 30.0 m/s at 27.0°C and 1.80 bar (gauge). At a point downstrream, the a
    15·1 answer
  • You are given a partial implementation of one header file, GildedRose.hpp. Item is a class that holds the information for each i
    6·1 answer
  • 2.4 kg of nitrogen at an initial state of 285K and 150 kPa is compressed slowly in an isothermal process to a final pressure of
    8·1 answer
  • A jet impinges directly on to a plate that is oriented normal to the axis of the jet. The mass flow rate of the jet is 50 kg/min
    8·1 answer
  • Consider the titration of 100.0 mL of 0.200 M CH3NH2 by 0.100 M HCl.
    13·1 answer
  • Technician A says when you push the horn button, electromagnetism moves an iron bar inside the horn, which opens and closes cont
    5·2 answers
  • For many clients, a decision is based primarily on time and money, which are the two most abundant
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!