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();
}
}
The answer is number 2) Increase the resistance of the concrete to freeze-thaw damage.
Answer:
Newton per square meter (N/m2)
Explanation:
Required
Unit of ultimate tensile strength
Ultimate tensile strength (U) is calculated using:

The units of force is N (Newton) and the unit of Area is m^2
So, we have:

or

<em>Hence: (c) is correct</em>
Answer Explanation:
the efficiency of the the engine is given by=1-
where T₂= lower temperature
T₁= Higher temperature
we have given efficiency =70%
lower temperature T₂=27°C=273+27=300K
higher temperature T₁=627°C=273+627=900K
efficiency=1-
=1-
=1-0.3333
=0.6666
=66%
66% is less than 70% so so inventor claim is wrong