Answer:
The solution code is written in Java.
- Scanner input = new Scanner(System.in);
- System.out.print("Enter operator: ");
- String operator = input.nextLine();
- System.out.print("Enter first integer: ");
- int num1 = input.nextInt();
- System.out.print("Enter second integer: ");
- int num2 = input.nextInt();
-
-
- int result = 0;
-
- switch(operator){
- case "+":
- result = num1 + num2;
- break;
- case "-":
- result = num1 - num2;
- break;
- case "*":
- result = num1 * num2;
- break;
- case "/":
- result = num1 / num2;
- break;
- default:
- System.out.println("Invalid operator");
-
- }
-
- System.out.println(result);
Explanation:
To ask for the user input for two whole numbers and an operator, we can use Java Scanner class object. Since the input operator is a string, we can use nextLine() method to get the operator string (Line 3). We use nextInt() method to get whole number input (Line 5 & 7).
Next we use the switch keyword and pass the operator into the switch structure to determine which case statement should be executed. For example, if the input operator is "*" the statement "<em>result = num1 * num2;</em>
" will run and multiply <em>num1</em> with <em>num2. </em>
Based on the National Electrical Code (NEC), a 450-Ampere fuse should be used to protect this polyphase (three-phase) squirrel cage inductor motor.
<u>Given the following data:</u>
- Power rating = 100-horsepower.
<h3>How to determine the correct fuse rating?</h3>
According to Table 430.52 of the National Electrical Code (NEC), a dual-element time delay fuse should be calculated at 175% (1.75) of the full-load current rating for an alternating current (AC) polyphase (three-phase) squirrel cage inductor motor.
In this scenario, the squirrel cage inductor motor didn't list a NEMA design code on its nameplate. Thus, we'll assume that the inductor motor is design B and its fuse rating is given by:
Fuse rating = 248 × 1.75 × 434
In conclusion, the nearest standard fuse size which is above the computed value listed in Section 240.6 of the National Electrical Code (NEC) is 450 amperes.
Read more on National Electrical Code here: brainly.com/question/10619436
#SPJ1
Explanation:
The two types of furnaces used in steel production are:
<u>Basic oxygen furnace </u>
In basic oxygen furnace, iron is combined with the varying amounts of the steel scrap and also small amounts of the flux in the Blast Furnace. Lance is introduced in vessel and blows about 99% of the pure oxygen causing rise in temperature to about 1700°C. This temperature melts scrap and the impurities are oxidized and results in the liquid steel.
<u>Electric arc furnace</u>
Electric arc furnace reuses existing steel. Furnace is charged with the steel scrap. It operates on basis of electrical charge between the two electrodes providing heat for process. Power is supplied through electrodes placed in furnace, which produce arc of the electricity through scrap steel which raises temperature to about 1600˚C. This temperature melts scrap and the impurities can be removed through use of the fluxes and results in the liquid steel.