clc;clear; //Example 4.6 //given data m=5; P1=200; T=25; //from Table A–4 //the liq. is in compressed state at 200 kPa and 25 C vf=0.001; vg=43.340; uf=104.83; ufg=2304.3; v1=vf; u1=uf; //calculations //Part - a V1=m*v1; Vtank=2*V1; disp(Vtank,'the volume of the tank in m^3'); //Part - b V2=Vtank; v2=V2/m; //from Table A–4 // at T=25 vf=0.101003 m^3/kg and vg=43.340 m^3/kg // vf