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:
of 5 lb/ft and a concentrated service live load at midspan. .... length = 12 feet) to support a uniformly distributed load. Taking ... w 7..'{ 'f.- ~ s-·. 344 ft-kip. Fy : s-o ks I. 299 ft-kip. Li.. ::::- I 2.. }-t-. 150 ft-kip ..... The concrete and reinforcing steel properties are ... Neglecting beam self-weight . and based only on the ...... JI : Lf, 2. l.. ;VI.
Explanation:
Answer:
Explanation:
load = 4500lb lift height= 30 ft
time =15 s
velocity=
ft/s
velocity=2 ft/s
power = force
velocity
power=
power= 9000 lb ft/s
1 hp= 550 lb ft/s
power=
hp
Answer:
B. G = 333 mS, B = j250 mS
Explanation:
impedance of a circuit element is Z = (3 + j4) Ω
The general equation for impedance
Z = (R + jX) Ω
where
R = resistance in ohm
X = reactance
R = 3Ω X = 4Ω
Conductance = 1/R while Susceptance = 1/X
Conductance = 1/3 = 0.333S
= 333 mS
Susceptance = 1/4 = 0.25S
= 250mS
The right option is B. G = 333 mS, B = j250 mS