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:
18 kJ
Explanation:
Given:
Initial volume of air = 0.05 m³
Initial pressure = 60 kPa
Final volume = 0.2 m³
Final pressure = 180 kPa
Now,
the Work done by air will be calculated as:
Work Done = Average pressure × Change in volume
thus,
Average pressure =
= 120 kPa
and,
Change in volume = Final volume - Initial Volume = 0.2 - 0.05 = 0.15 m³
Therefore,
the work done = 120 × 0.15 = 18 kJ
Answer:
The power developed by engine is 167.55 KW
Explanation:
Given that

Mean effective pressure = 6.4 bar
Speed = 2000 rpm
We know that power is the work done per second.
So

We have to notice one point that we divide by 120 instead of 60, because it is a 4 cylinder engine.
P=167.55 KW
So the power developed by engine is 167.55 KW
Loaded,
(s) =
=
is the loaded filter's transfer function.
A graded filter that, by virtue of its weight and permeability, stabilises the foot of an earth dam or other construction when it is installed at the base of that structure.
Air filters with depth loaded are made to achieve precisely that. They add particles gradually to create air passageways, reducing constriction. You may save time and money by using filters that last longer thanks to them. The bigger particles are caught at the filter's beginning, while the smaller particles are caught as it gets closer. This is intended to avoid rapid surface loading, hence facilitating more airflow. This enables longer-lasting filtration as well.
On the other hand, surface loading filters catch every particle that is on its surface. No matter how big or little the particles are, it doesn't care.
Learn more about Loaded here:
brainly.com/question/20039214
#SPJ4