From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 2975/CH26/EX26.3w/Ex26_3w.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 2975/CH26/EX26.3w/Ex26_3w.sce (limited to '2975/CH26/EX26.3w/Ex26_3w.sce') 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)") -- cgit