ANSWERS:

Explanation:
Given:
Piston cylinder assembly which mean that the process is constant pressure process P=C.
<u>AMMONIA </u>
state(1)
saturated vapor 
The temperature 
Isothermal process 
a)
( double)
b)
(reduced by half)
To find the final state by giving the quality in lbf/in we assume the friction is neglected and the system is in equilibrium.
state(1)
using PVT data for saturated ammonia

then the state exists in the supper heated region.
a) from standard data



assume linear interpolation


b)

from standard data

then the state exist in the wet zone


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:
Explained
Explanation:
Cold working: It is plastic deformation of material at temperature below recrystallization temperature. whereas hot working is deforming material above the recrystallization temperature.
Given melting point temp of lead is 327° C and lead recrystallizes at about
0.3 to 0.5 times melting temperature which will be higher that 20°C. Hence we can conclude that at 20°C lead will under go cold working only.
Answer:
I=0.3636
Explanation:
See the attached picture for explanation.
Answer:
a) 4 passes are required to sort the string.
b) 4
c) i) TARP
ii) CHIP
iii) PART
iv) TARP
v) TARP
d) O(k+n), n is no. of strings, k is largest no. of character in among the string
O(d*(n+10)), n is no. of integers
Explanation: