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:
0.304 L of Freon is needed
Explanation:
Q = mCT
Q is quantity of energy that must be removed = 47 BTU = 47×1055.06 = 49587.82 J
C is specific heat of Freon = 74 J/mol.K = 74 J/mol.K × 1 mol/120 g = 0.617 J/g.K
T is temperature in the area of Mars = 189 K
m = Q/CT = 49587.82/(0.617×189) = 452.23 g = 452.24/1000 = 0.45223 kg
Density of Freon = specific gravity of Freon × density of water = 1.49 × 1000 kg/m^3 = 1490 kg/m^3
Volume of Freon = mass/density = 0.45223/1490 = 0.000304 m^3 = 0.000304×1000 = 0.304 L
Answer:
d. All of the above would require an EIS.
Explanation:
A document prepared with the aim of describing the impacts of suggested operations on the environment is an Environmental Impact Statement (EIS). There was a mistake. An Environmental Impact Statement (EIS) is therefore a report describing the environmental effects resulting from a current action. All of the activities above would have an effect on the environment and therefore must fill an EIS
B) the plates are in constant motion and as a result the boundaries are where they interact