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
Sati [7]
4 years ago
7

Write a program that prompts the user to enter two characters and display the corresponding major and year status. The first cha

racter indicates the major. And the second character is a number character 1, 2, 3, 4, which indicates whether a student is a freshman, sophomore, junior, or senior. We consider only the following majors:
B (or b): Biology

C (or c): Computer Science

I (or i): Information Technology and Systems

Note that your program needs to let the user know if the major or year is invalid. Also, your program should be case-insensitive: your program should tell "Biology" either user type ‘b’ or ‘B’.

Engineering
1 answer:
lara31 [8.8K]4 years ago
7 0

Answer:

Following is attached the images for source code and the result according to given question.

I hope it will help you a lot!

Explanation:

You might be interested in
Why was the lack of preparedness of the Federal Emergency Management Agency in the Hurricane Katrina disaster so damaging for th
kolbaska11 [484]

Answer:

B

Explanation:

The Bush administration had prided itself on its unique focus for homeland security and combating terrorism, without adequate preparation for the disaster.

8 0
3 years ago
Explain three (3) modes of heat transfer in air conditioning system.
LenKa [72]

Answer:

1. Conduction

2. Convection

3. Radiation

Explanation:

The 3 modes of heat transfer i an air conditioning system:

1. Conduction:

The transfer of heat by conduction  takes place in solid and is when the conduction takes place as a result of direct contact in between the interacting material which transfer the heat energy from particle to particle thus conducting the heat through out the system.

2. Convection:

The other mode for the transfer of heat which takes place especially in fluids - gases and liquids is through the technique of convection in which the transfer of heat takes place by the circular motion of the atoms and molecules of the fluid which carries the heat energy and results in the distribution of the heated fluid in the entire system thus transferring all the heat energy in the entire system.

3. Radiation:

The third mode of heat transfer in the air conditioning system is through radiation. This method transfers the heat by making use of the electro-magnetic radiation in the infra red spectrum where the waves of the spectrum transfers the heat energy with the help of a medium or without any medium at all.

Thus making the radiation method of heat transfer as the only method out of the three methods which does not require the material medium for the transfer of heat energy.

4 0
3 years ago
Consider a very long, cylindrical fin. The temperature of the fin at the tip and base are 25 °C and 50 °C, respectively. The dia
nekit [7.7K]

Answer:

98°C

Explanation:

Total surface area of cylindrical fin = πr² + 2πrl , r = 0.015m; l= 0.1m; π =22/7

22/7*(0.015)² + 22/7*0.015*0.1 = 7.07 X 10∧-4 + 47.1 X 10∧-4 = (54.17 X 10∧-4)m²

Temperature change, t = (50 - 25)°C = 25°C = 298K

Hence, Temperature =  150 X (54.17 X 10∧-4) X 298/123 = 242.14/124 = 2.00K =

∴ Temperature change = 2.00K

But temperature, T= (373 - 2)K = 371 K

In °C = (371 - 273)K = 98°C         

7 0
3 years ago
A structural component in the form of a wide plate is to be fabricated from a steel alloy that has a plane-strain fracture tough
jeyben [28]

Complete question:

A structural component in the form of a wide plate is to be fabricated from a steel alloy that has a plane strain fracture toughness of 98.9 MPa root m (90 ksi root in.) and a yield strength of 860 MPa (125,000 psi). The flaw size resolution limit of the flaw detection apparatus is 3.0 mm (0.12 in.). If the design stress is one-half of the yield strength and the value of Y is 1.0, determine whether or not a critical flaw for this plate is subject to detection.

Answer:

Since the flaw 17mm is greater than 3 mm the critical flaw for this plate is subject to detection

so that critical flow is subject to detection  

Explanation:

We are given:

Plane strain fracture toughness K = 98.9 MPa \sqrt{m}

Yield strength Y = 860 MPa

Flaw detection apparatus = 3.0mm (12in)

y = 1.0

Let's use the expression:

oc = \frac{K}{Y \sqrt{pi * a}}

We already know

K= design

a = length of surface creak

Since we are to find the length of surface creak, we will make "a" subject of the formula in the expression above.

Therefore

a= \frac{1}{pi} * [\frac{k}{y*a}]^2

Substituting figures in the expression above, we have:

= \frac{1}{pi} * [\frac{98.9 MPa \sqrt{m}} {10 * \frac{860MPa}{2}}]^2

= 0.0168 m

= 17mm

Therefore, since the flaw 17mm > 3 mm the critical flow is subject to detection  

3 0
3 years ago
Read 2 more answers
A plate clutch has a single friction surface 9-in OD by 7-in ID. The coefficient of friction is 0.2 and the maximum pressure is
Talja [164]

Answer:

the torque capacity is  30316.369 lb-in

Explanation:

Given data

OD = 9 in

ID = 7 in

coefficient of friction = 0.2

maximum pressure = 1.5 in-kip = 1500 lb

To find out

the torque capacity using the uniform-pressure assumption.

Solution

We know the the torque formula for uniform pressure theory is

torque = 2/3 × \pi × coefficient of friction × maximum pressure ( R³ - r³ )    .....................................1

here R = OD/2 = 4.5 in and r = ID/2 = 3.5 in

now put all these value R, r, coefficient of friction and  maximum pressure in equation 1 and we will get here torque

torque = 2/3 × \pi × 0.2 × 1500 ( 4.5³ - 3.5³ )

so the torque =  30316.369 lb-in

3 0
3 years ago
Other questions:
  • For ceramic-matrix composites, high interfacial strength is desirable. ( True , False )
    8·1 answer
  • 6. PVC boxes are primarily used in new construction because it is simple to
    11·1 answer
  • Calculate the wire pressure for a round copper bar with an original cross-sectional area of 12.56 mm2 to a 30% reduction of area
    11·1 answer
  • Help Please!!!!!!!<br><br> Whatever3443<br> Please help!
    9·2 answers
  • Describe the algorithm you use for looking up a person’s telephone number in the phone book. The input is person’s name; the out
    9·2 answers
  • A railroad runs form city A to city B, a distance of 800km, through mountainous terrain. The present one-way travel time (includ
    13·1 answer
  • What is the basic formula for actual mechanical advantage?
    12·1 answer
  • Determine the wattmeter reading when it is connected to resistor load.​
    11·1 answer
  • A rigid insulated tank is divided into 2 equal compartments by a thin rigid partition. One of the compartments contains air, ass
    5·1 answer
  • Ferroconcrete is reinforced concrete that combines concrete and ________. A. Lead c. Copper b. Iron d. Aluminum.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!