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
IrinaVladis [17]
3 years ago
14

Draw a flowchart to represent the logic of a program that allows the user to enter values for the current year and the user’s bi

rth year. The program outputs the age of the user this year.

Engineering
1 answer:
Digiron [165]3 years ago
3 0

Answer:

Please, see the attachment.

Explanation:

First, we have to create two input boxes that allows the user to write the current year in one of them and his/her birth year in the another one. Also, we have to create a label that will show the result of the desired variable. We can write a message "Your age is:" and it will be attached to the result.

For the algorithm, let's call the variables as follows:

CY = Current Year

BY = Birth Year

X = Age of user

When the user inserts the current year and his/her birth year, the program will do the following operation:

X = CY - BY; this operation will give us the age of the user

After this the user will see something like "Your age is:" X.

You might be interested in
Three bars each made of different materials are connected together and placed between two walls when the temperature is 12 oC. D
slega [8]

Answer:

F = 9.11 x 10³ N = 9.11 KN

Explanation:

The areas, lengths, young's modulus, and coefficient of linear thermal expansion are given in the diagram. First we find the equivalent change in length due to temperature change:

ΔL = (ΔL)steel + (ΔL)brass + (ΔL)Copper

ΔL = (∝s)(Ls)(ΔT) + (∝b)(Lb)(ΔT) + (∝c)(Lc)(ΔT)

where,

ΔL = Equivalent Change in Length = ?

ΔT = Change in Temperature = 25°C - 12°C = 13°C

Ls = Length of Steel Segment = 300 mm = 0.3 m

Lb = Length of Brass Segment = 200 mm = 0.2 m

Lc = Length of Copper Segment = 100 mm = 0.1 m

Therefore,

ΔL = (12 x 10⁻⁶ °C⁻¹)(0.3 m)(13 °C) + (21 x 10⁻⁶ °C⁻¹)(0.2 m)(13 °C) + (17 x 10⁻⁶ °C⁻¹)(0.1 m)(13 °C)

ΔL = 46.8 x 10⁻⁶ m + 54.6 x 10⁻⁶ m + 22.1 x 10⁻⁶ m

ΔL = 123.5 x 10⁻⁶ m   ----------------------- equation (1)

Now, we calculate this deflection in terms of an applied force (F):

ΔL = (F)(Ls)/(Es)(As) + (F)(Lb)/(Eb)(Ab) + (F)(Lc)/(Ec)(Ac)

ΔL = (F)(0.3 m)/(200 x 10⁹ Pa)(200 x 10⁻⁶ m²) + (F)(0.2 m)/(100 x 10⁹ Pa)(450 x 10⁻⁶ m²) + (F)(0.1 m)/(120 x 10⁹ Pa)(515 x 10⁻⁶ m²)

ΔL = F(7.5 x 10⁻⁹ m/N + 4.44 x 10⁻⁹ m/N + 1.61 x 10⁻⁹ m/N)

ΔL = F(13.55 x 10⁻⁹ m/N)   --------------------- equation (1)

Comparing equation (1) and equation (2):

123.5 x 10⁻⁶ m = F(13.55 x 10⁻⁹ m/N)

F = (123.5 x 10⁻⁶ m)/(13.55 x 10⁻⁹ m/N)

<u>F = 9.11 x 10³ N = 9.11 KN</u>

6 0
3 years ago
Due at 11:59pm please help
sergeinik [125]
I believe it’s c table
7 0
3 years ago
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
djyliett [7]

Answer:

Explanation:

Hall-Petch equation provides direct relations between the strength of the material and the grain size:

σ=σ0+k/√d , where d- grain size, σ- strength for the given gran size, σ0 and k are the equation constants.

As in this problem, we don't know the constants of the equation, but we know two properties of the material, we are able to find them from the system of equations:

σ1=σ0+k/√d1

σ2=σ0+k/√d2 , where 1 and 2 represent 150MPa and 250MPa strength of the steel.

Note, that for the given problem, there is no need to convert units to SI, as constants can have any units, which are convenient for us.

From the system of equations calculations, we can find constant: σ0=55.196 MPa, k=18.48 MPa*mm^(0.5)

Now we are able to calculate strength for the grain diameter of 0.004 mm:

σ=55.196+18.48/(√0.004)=347.39 MPa

The strength of the steel with the grais size of 0.004 mm is 347.39 MPa.

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
Heating of Oil by Air. A flow of 2200 lbm/h of hydrocarbon oil at 100°F enters a heat exchanger, where it is heated to 150°F by
irakobra [83]

Answer:

2062 lbm/h

Explanation:

The air will lose heat and the oil will gain heat.

These heats will be equal in magnitude.

qo = -qa

They will be of different signs because one is entering iits system and the other is exiting.

The heat exchanged by oil is:

qo = Gp * Cpo * (tof - toi)

The heat exchanged by air is:

qa = Ga * Cpa * (taf - tai)

The specific heat capacity of air at constant pressure is:

Cpa = 0.24 BTU/(lbm*F)

Therefore:

Gp * Cpo * (tof - toi) = Ga * Cpa * (taf - tai)

Ga = (Gp * Cpo * (tof - toi)) / (Cpa * (taf - tai))

Ga = (2200 * 0.45 * (150 - 100)) / (0.24 * (300 - 200)) = 2062 lbm/h

5 0
3 years ago
Other questions:
  • 12. The small space above the piston in which fuel is burned is called the
    10·1 answer
  • Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's
    11·1 answer
  • Read a 4 character number. Output the result in in the following format, Input 9873, Output 3 *** 7 ******* 8 ******** 9 *******
    8·1 answer
  • Which type of load is not resisted by a pinned joint? A) Moment B) Shear C) Axial D) Compression
    7·1 answer
  • Who invented a control unit for an artificial heart?<br> ements<br> ante
    8·1 answer
  • By using a book of the OHS Act, Act 85 of 1993, find the act or regulation where the following extraction comes from "every empl
    12·1 answer
  • A front wheel drive vehicle with four wheel disc brakes is pulling to the left. Tech A says an external kink or internal restric
    13·1 answer
  • Thermodynamics fill in the blanks The swimming pool at the local YMCA holds roughly 749511.5 L (749511.5 kg) of water and is kep
    6·1 answer
  • Global climate and weather patterns are driven by differences in the amount of heat energy in different areas of the earth. Whic
    9·1 answer
  • Write down the three formula to find the three types of slope of curve Q with respect to L.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!