Answer:
public static int average(int j, int k) {
return (int)(( (long)(i) + (long)(j) ) /2 );
}
Explanation:
The above code returns the average of two integer variables
Line 1 of the code declares a method along with 2 variables
Method declared: average of integer data type
Variables: j and k of type integer, respectively
Line 2 calculates the average of the two variables and returns the value of the average.
The first of two integers to average is j
The second of two integers to average is k
The last parameter ensures average using (j+k)/2
Answer:
(absolute).
Explanation:
Given that
Pressure ratio r
r=8

-----1
P₁(gauge) = 5.5 psig
We know that
Absolute pressure = Atmospheric pressure + Gauge pressure
Given that
Atmospheric pressure = 14.5 lbf/in²
P₁(abs) = 14.5 + 5.5 psia
P₁(abs) =20 psia
Now by putting the values in the above equation 1
Therefore the exit gas pressure will be 160 psia (absolute).
So they can grasp a better understanding! good luck
Answer:
investor claim is acceptable
Explanation:
given data
Win = 0.25 kW
Qc = 3000 J/s = 3kW
Th = 293 K
Tc = 270 K
solution
we get here coefficient of performance of cycle is
coefficient of performance =
..................1
put here value and we get
coefficient of performance =
coefficient of performance = 1.2
and
coefficient of performance of ideal refrigeration is
coefficient of performance =
..................2
coefficient of performance =
coefficient of performance = 11.74
and
we can see here that coefficient of performance of ideal refrigeration is is more than real cycle coefficient of performance
so investor claim is acceptable