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:
a cable -stayed bridge has, one or more towers,from which cable support the bridge deck.
Answer:
In Btu:
Q=0.001390 Btu.
In Joule:
Q=1.467 J
Part B:
Temperature at midpoint=274.866 C
Explanation:
Thermal Conductivity=k=30 (Btu/hr)/(ft ⋅ °F)= 
Thermal Conductivity is SI units:

Length=20 cm=0.2 m= (20*0.0328) ft=0.656 ft
Radius=4/2=2 mm =0.002 m=(0.002*3.28)ft=0.00656 ft
T_1=500 C=932 F
T_2=50 C= 122 F
Part A:
In Joules (J)

Heat Q is:

In Btu:

Heat Q is:

PArt B:
At midpoint Length=L/2=0.1 m

On rearranging:

