summaryrefslogtreecommitdiff
path: root/2144/CH3/EX3.11/ex3_11.sce
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.11/ex3_11.sce
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.11/ex3_11.sce')
-rwxr-xr-x2144/CH3/EX3.11/ex3_11.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/2144/CH3/EX3.11/ex3_11.sce b/2144/CH3/EX3.11/ex3_11.sce
new file mode 100755
index 000000000..c29b6fc1e
--- /dev/null
+++ b/2144/CH3/EX3.11/ex3_11.sce
@@ -0,0 +1,18 @@
+// Exa 3.11
+clc;
+clear;
+close;
+// Given data
+V1 = 2.5;// in litre
+P1 = 1400;// kN/m^2
+P2 = 280;//in kN/m^2
+T1 = 1100;// in °C
+T1 = T1 + 273;// in K
+n = 1.28;
+V2 = V1 * (P1/P2)^(1/1.28);// in litres
+disp(V2,"Final volume in litres is");
+T2 = T1 * ((P2*V2)/(P1*V1));// in K
+T2 = T2 - 273;// in degree C
+disp(T2,"Final temperature in degree C is");
+W = (P1* V1 - P2*V2)/(n-1);// in Joules
+disp(W*10^-3,"Work done in kJ is");