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: The engineering design process emphasizes open-ended problem solving and encourages students to learn from failure. This process nurtures students abilities to create innovative solutions to challenges in any subject! In addition to their involvement in design and development, many engineers work in testing, production, or maintenance. These engineers supervise production in factories, determine the causes of a component's failure, and test manufactured products to maintain quality.
Explanation:
(a) The number of vacancies per cubic centimeter is 1.157 X 10²⁰
(b) ρ = n X (AM) / v X Nₐ
<u>Explanation:</u>
<u />
Given-
Lattice parameter of Li = 3.5089 X 10⁻⁸ cm
1 vacancy per 200 unit cells
Vacancy per cell = 1/200
(a)
Number of vacancies per cubic cm = ?
Vacancies/cm³ = vacancy per cell / (lattice parameter)³
Vacancies/cm³ = 1 / 200 X (3.5089 X 10⁻⁸cm)³
Vacancies/cm³ = 1.157 X 10²⁰
Therefore, the number of vacancies per cubic centimeter is 1.157 X 10²⁰
(b)
Density is represented by ρ
ρ = n X (AM) / v X Nₐ
where,
Nₐ = Avogadro number
AM = atomic mass
n = number of atoms
v = volume of unit cell
the function is to provide sealed combustion so that the loss of gas is minimized
Answer:

Explanation:
For pressure gage we can determine this by saying:
The closed tank with oil and air has a pressure of P₁ and the pressure of oil at a certain height in the U-tube on mercury is p₁gh₁. The pressure of mercury on the air in pressure gauge is p₂gh₂. The pressure of the gage is P₂.

We want to work out P₁-P₂: Heights aren't given so we can solve it in terms of height: assuming h₁=h₂=h
