diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2144/CH3/EX3.5/ex3_5.sce | |
download | Scilab-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.5/ex3_5.sce')
-rwxr-xr-x | 2144/CH3/EX3.5/ex3_5.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2144/CH3/EX3.5/ex3_5.sce b/2144/CH3/EX3.5/ex3_5.sce new file mode 100755 index 000000000..1b05ded2f --- /dev/null +++ b/2144/CH3/EX3.5/ex3_5.sce @@ -0,0 +1,18 @@ +// Exa 3.5
+clc;
+clear;
+close;
+// Given data
+P1 = 1.1;// in MN/m^2
+P1 = P1 * 10^6;// in N/m^2
+V1 = 1.5;// in m^3
+V2 = 7.5;// in m^3
+P2 = (P1*V1)/V2;// in kN/m^2
+P2 = P2 * 10^-6;// in MN/m^2
+P2 = P2 * 10^3;// in kN/m^2
+disp(P2,"The final pressure in kN/m^2 is");
+W = P1*V1*log(V2/V1);// in J
+W = W * 10^-3;// in kJ
+disp(W,"The work done in kJ is");
+
+// Note : There is an error in calculation to find the value of Work Done. So the answer in the book is wrong
|