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
densk [106]
3 years ago
11

Draw the ipo chart for a program that reads a number from the user and display the square of that number ???Anyone please

Engineering
1 answer:
kompoz [17]3 years ago
5 0

Answer:

See attachment for chart

Explanation:

The IPO chart implements he following algorithm

The expressions in bracket are typical examples

<u>Input</u>

Input Number (5, 4.2 or -1.2) --- This will be passed to the Processing module

<u>Processing</u>

Assign variable to the input number (x)

Calculate the square (x = 5 * 5)

Display the result (25) ----> This will be passed to the output module

<u>Output</u>

Display 25

You might be interested in
Find a negative feedback controller with at least two tunable gains that (1) results in zero steady state error when the input i
IceJOKER [234]

Answer:

Gc(s) = \frac{0.1s + 0.28727}{s}

Explanation:

comparing the standard approximation with the plot attached we can tune the PI gains so that the desired response is obtained. this is because the time requirement of the setting is met while the %OS requirement is not achieved instead a 12% OS is seen from the plot.

attached is the detailed solution and the plot in Matlab

8 0
3 years ago
A. A 3-kg plastic tank that has a volume of 0.2 m^3 is lled with liquid water. Assuming the density of water is 1000 kg=m^3, det
Tpy6a [65]

Answer:

The answer is below

Explanation:

a) The weight of the combined system is the sum of the weight of the water and the weight of the tank

m_{water}=V_{tank}.\rho_{wtaer}\\\\m_{water}=0.2m^3*1000kg/m^3\\\\m_{water}=200 \ kg\\\\m_{total} = m_{water}+m_{tank}\\\\But\ m_{tank}=3kg,therefore:\\\\m_{total} =200kg+3kg\\\\m_{total} =203\ kg\\\\weight_{total}=m_{total}g\\\\weight_{total}=203kg*9.81m/s^2\\\\weight_{total}=1991.43\ N

b) Since the weight of a system can be divided into smaller portions, hence weight is an extensive property.

c) When analyzing the acceleration of gases as they flow through a nozzle, the geometry of the nozzle which is an open system can be chosen as our system.

d) Given that:

\rho_{water}=1000kg/m^3\\\\1kg/m^3=0.062428lb/ft^3\\\\1000kg/m^3=1000kg/m^3*\frac{0.062428lb/ft^3}{kg/m^3}=62.43lb/ft^3\\ \\\rho=SG*\rho_{water}=1.03*62.43=64.272lb/ft^3\\\\P=P_{atm}+\rho g H\\\\P=14.7\ psia+64.272\ lb/ft^3*32.2\ ft/s^2*175\ ft*\frac{1\ ft^2}{12^2\ in^2}*\frac{1\ lbf}{32.2\ lbm.ft/s^2}  \\\\P=92.8\ psia

6 0
3 years ago
What are the main differences between pipefitters and plumbers? (Select all that apply.)
romanna [79]

Answer:

pipefitters design systems whereas plumbers maintain systems

8 0
3 years ago
Problem 4.079 SI A rigid tank whose volume is 3 m3, initially containing air at 1 bar, 295 K, is connected by a valve to a large
salantis [7]

Answer:

Q_{cv} = -1007.86kJ

Explanation:

Our values are,

State 1

V=3m^3\\P_1=1bar\\T_1 = 295K

We know moreover for the tables A-15 that

u_1 = 210.49kJ/kg\\h_i = 295.17kJkg

State 2

P_2 =6bar\\T_2 = 296K\\T_f = 320K

For tables we know at T=320K

u_2 = 228.42kJ/kg

We need to use the ideal gas equation to estimate the mass, so

m_1 = \frac{p_1V}{RT_1}

m_1 = \frac{1bar*100kPa/1bar(3m^3)}{0.287kJ/kg.K(295k)}

m_1 = 3.54kg

Using now for the final mass:

m_2 = \frac{p_2V}{RT_2}

m_2 = \frac{1bar*100kPa/6bar(3m^3)}{0.287kJ/kg.K(320k)}

m_2 = 19.59kg

We only need to apply a energy balance equation:

Q_{cv}+m_ih_i = m_2u_2-m_1u_1

Q_{cv}=m_2u_2-m1_u_1-(m_2-m_1)h_i

Q_{cv} = (19.59)(228.42)-(3.54)(210.49)-(19.59-3.54)(295.17)

Q_{cv} = -1007.86kJ

The negative value indidicates heat ransfer from the system

7 0
3 years ago
Energy transfer in mechanical systems: During steady-state operation, a mechanical gearbox receives 70 KW of input power through
Degger [83]

Answer:

Heat transfer rate(Q)= 1.197kW

Power output(W)=68.803kW

3 0
3 years ago
Other questions:
  • Soap is a very interesting chemical. We even discussed it on the discussion board. How does it work, exactly?
    7·1 answer
  • An 800-kg drag racer accelerates from rest to 390 km/hr in 5.8 s. What is the net impulse applied to the racer in the first 5.8
    10·1 answer
  • The yield strength of mild steel is 150 MPa for an average grain diameter of 0.038 mm ; yield strength is 250 MPa for average gr
    15·1 answer
  • The tolerance for a geometric can be easily identified by reading the _________.
    13·2 answers
  • Your coworker was impressed with the efficiency you showed in the previous problem and would like to apply your methods to a pro
    5·1 answer
  • The penalty for littering 15 lb or less is _____.<br> A. $25<br> B. $50<br> C. $100<br> D. $150
    14·1 answer
  • Create a Relational Schema for the following scenario. Include all primary and foreign keys and list any assumptions you make. 
    15·1 answer
  • British standered institution
    5·1 answer
  • Which one of the following is not an economic want?
    6·1 answer
  • Why do you think there are so many different kinds of can openers?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!