Answer:
see explaination
Explanation:
import java.util.InputMismatchException;
import java.util.Scanner;
public class calculate {
static float a=0,b=0;
double cal()
{
if(a==0||b==0)
{
System.out.println("no values found in a or b");
start();
}
double x=(a*a)+(b*b);
double h=Math.sqrt(x);
a=0;
b=0;
return h;
}
float enter()
{
float val=0;
try
{
System.out.println("Enter side");
Scanner sc1 = new Scanner(System.in);
val = sc1.nextFloat();
return val;
}
catch(InputMismatchException e)
{
System.out.println("Enter correct value");
}
return val;
}
void start()
{
calculate c=new calculate();
while(true)
{
System.out.println("Enter Command");
Scanner sc = new Scanner(System.in);
String input = sc.nextLine();
switch(input)
{
case "A":
a=c.enter();
break;
case "B":
b=c.enter();
break;
case "C":
double res=c.cal();
System.out.println("Hypotenuse is : "+res);
break;
case "Q":
System.exit(0);
default:System.out.println("wrong command");
}
}
}
public static void main(String[] args) {
calculate c=new calculate();
c.start();
}
}
Answer:
C. Welded contacts on the thermostat
Explanation:
Any fault that keeps the heating element heating when it should not is a fault that will cause the symptom described. The details <em>depend on the design of the brewer</em> (not given).
"A short at the terminals" depends on what terminals are being referenced. The device on-off switch terminals are normally connected together when the brewer is turned on, so a short there may not be observable.
"Welded contacts on the thermostat" will have the observed effect if the thermostat is the primary means of ending the brewing cycle. If the thermostat of interest is an overheat protective device not normally involved in ending the brewing cycle, then that fault may not cause the observed symptom.
__
If the heating element is open-circuit, no heating will occur. A gasket leak may cause a puddle, but may have nothing to do with the end of the brewing cycle. (Loss of water can be expected to end boiling, rather than prolong it.)
Answer:
Wrenches are made in various shapes and sizes and are used for gripping, fastening, turning, tightening and loosening things like pipes, pipe fittings, nuts and bolts. There are basically two major kinds of wrenches: Pipe wrenches used in plumbing for gripping round (cylindrical) things.
Explanation:
thermal expansion ∝L = (δL/δT)÷L ----(1)
δL = L∝L + δT ----(2)
we have δL = 12.5x10⁻⁶
length l = 200mm
δT = 115°c - 15°c = 100°c
putting these values into equation 1, we have
δL = 200*12.5X10⁻⁶x100
= 0.25 MM
L₂ = L + δ L
= 200 + 0.25
L₂ = 200.25mm
12.5X10⁻⁶ *115-15 * 20
= 0.025
20 +0.025
D₂ = 20.025
as this rod undergoes free expansion at 115°c, the stress on this rod would be = 0
Answer:
D
Explanation:
took test failed question D is the right answer