diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2975/CH26/EX26.3w/Ex26_3w.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '2975/CH26/EX26.3w/Ex26_3w.sce')
-rw-r--r-- | 2975/CH26/EX26.3w/Ex26_3w.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2975/CH26/EX26.3w/Ex26_3w.sce b/2975/CH26/EX26.3w/Ex26_3w.sce new file mode 100644 index 000000000..cf8f89d1e --- /dev/null +++ b/2975/CH26/EX26.3w/Ex26_3w.sce @@ -0,0 +1,25 @@ +//developed in windows 8 operating system 64bit
+//platform Scilab 5.4.1
+//example 26_3w
+
+clc;clear;
+//Given Data
+
+mass=1; //Mass of water (Unit: kg)
+temp=100; //Temperature of water (Unit : degree centigrade)
+density_water=1000; //Density of water (Unit: kg/m^3)
+density_steam=0.6; //Density of steam (Unit : kg/m^3)
+pressure=100*10^3; //Pressure of water(Unit : Pascal)
+latent_heat_vapor=2.25*10^6; //Latent heat of vapourzation of water (Unit : Joules/kg)
+
+//Calculation
+
+volume_water=mass/density_water; //Calculation of volume of water (Unit: m^3)
+volume_steam=mass/density_steam; //Calculation of volume of steam (Unit: m^3)
+increased_volume=volume_steam-volume_water; //Calculation of change in volume (Unit; m^3)
+work_done=pressure*increased_volume; //Calculation of work done (Unit: Joules)
+
+change_internal_energy=latent_heat_vapor-work_done; //Calculation of change in internal energy (Unit: Joules)
+
+
+disp(change_internal_energy,"The increase in internal energy of 1 kg water is (Unit:Joules)")
|