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 solution and complete explanation for the above question and mentioned conditions is given below in the attached document.i hope my explanation will help you in understanding this particular question.
Explanation:
Answer:
0.5m^2/Vs and 0.14m^2/Vs
Explanation:
To calculate the mobility of electron and mobility of hole for gallium antimonide we have,
(S)
Where
e= charge of electron
n= number of electrons
p= number of holes
mobility of electron
mobility of holes
electrical conductivity
Making the substitution in (S)
Mobility of electron


Mobility of hole in (S)


Then, solving the equation:
(1)
(2)
We have,
Mobility of electron 
Mobility of hole is 
Answer:
touching
Explanation:
The backrest of the seat should be tilted back ever so slightly, and when turning the steering wheel your shoulders should remain in contact with the seat – rather than hunched forward.
Answer: Borderline personality Disorder.
Explanation: This is a type of mental disorder which could affects mood, behavior and relationships.
Its symptoms includes unstable emotions, sense of insecurity, worthlessness, and impulsivity.
This condition can not be cured, but treatments such as therapies, medication (in some cases) could help.