summaryrefslogtreecommitdiff
path: root/2144/CH3/EX3.14
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2144/CH3/EX3.14
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2144/CH3/EX3.14')
-rwxr-xr-x2144/CH3/EX3.14/ex3_14.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/2144/CH3/EX3.14/ex3_14.sce b/2144/CH3/EX3.14/ex3_14.sce
new file mode 100755
index 000000000..de88bed13
--- /dev/null
+++ b/2144/CH3/EX3.14/ex3_14.sce
@@ -0,0 +1,14 @@
+// Exa 3.14
+clc;
+clear;
+close;
+// Given data
+P1 = 30;// in bar
+P1= P1*10^5;// in N/m^2
+V1 = 0.85;// in m^3
+V2 = 4.25;// in m^3
+W = P1 *V1 * log(V2/V1);// in Joules
+W = W * 10^-3;// in kJ
+T = 400;// in K
+del_U = W/T;// in kJ/K
+disp(del_U,"Change in entropy in kJ/K is");