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 /3856/CH5/EX5.4 | |
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 '3856/CH5/EX5.4')
-rw-r--r-- | 3856/CH5/EX5.4/Ex5_4.sce | 39 | ||||
-rw-r--r-- | 3856/CH5/EX5.4/Ex5_4.txt | 3 |
2 files changed, 42 insertions, 0 deletions
diff --git a/3856/CH5/EX5.4/Ex5_4.sce b/3856/CH5/EX5.4/Ex5_4.sce new file mode 100644 index 000000000..7ed55c67b --- /dev/null +++ b/3856/CH5/EX5.4/Ex5_4.sce @@ -0,0 +1,39 @@ +//Calculate the Entropy change for the system ,for the surrounding and for the universe expands isothermally against a constant pressure
+
+//Example 5.4
+
+clc;
+
+clear;
+
+n=0.50; //Number of moles of Ideal gas in mol
+
+R=8.314; //Gas constant in J K^-1 mol^-1
+
+V2=5.0; //Final volume of the gas in L
+
+V1=1.0; //Initial volume of the gas in L
+
+delSsys=(n*R)*log(V2/V1); //Entropy change for the system in J K^-1
+
+printf("Entropy change for the system = %.1f J K^-1",delSsys);
+
+P=2; //Pressure of the gas in atm
+
+delV=V2-V1; //Change of the volume in L
+
+W=-P*delV*101.3; //Work done in the irreversible gas expansion in J
+
+q=-W; //Work done in the irreversible gas expansion change into heat lost by surrounding in J
+
+qsur=-q; //Heat lost by surrounding in J
+
+T=293; //Temperature of the gas in K
+
+delSsur=qsur/T; //Entropy change for the surrounding in J K^-1
+
+printf("\nEnropy change for the surrounding = %.1f J K^-1",delSsur);
+
+delSuniv=delSsys+delSsur; //Entropy change for the Universe in J K^-1
+
+printf("\nEntropy change for the universe = %.1f J K^-1",delSuniv);
diff --git a/3856/CH5/EX5.4/Ex5_4.txt b/3856/CH5/EX5.4/Ex5_4.txt new file mode 100644 index 000000000..563537019 --- /dev/null +++ b/3856/CH5/EX5.4/Ex5_4.txt @@ -0,0 +1,3 @@ + Entropy change for the system = 6.7 J K^-1
+Enropy change for the surrounding = -2.8 J K^-1
+Entropy change for the universe = 3.9 J K^-1
\ No newline at end of file |