summaryrefslogtreecommitdiff
path: root/551/CH2/EX2.20/20.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH2/EX2.20/20.sce')
-rwxr-xr-x551/CH2/EX2.20/20.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/551/CH2/EX2.20/20.sce b/551/CH2/EX2.20/20.sce
new file mode 100755
index 000000000..46d4eced6
--- /dev/null
+++ b/551/CH2/EX2.20/20.sce
@@ -0,0 +1,17 @@
+clc
+W=150; //kJ
+V1=0.6; //m^3
+
+// p=8-4*V
+// W=integration of p*dV from V1 to V2
+// Solving above equation we get
+
+V2=0.354; //m^3
+disp("Final volume =")
+disp(V2)
+disp("m^3")
+
+p2=8-4*V2;
+disp("Final pressure =")
+disp(p2)
+disp("bar") \ No newline at end of file