summaryrefslogtreecommitdiff
path: root/779/CH3/EX3.11/3_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '779/CH3/EX3.11/3_11.sce')
-rwxr-xr-x779/CH3/EX3.11/3_11.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/779/CH3/EX3.11/3_11.sce b/779/CH3/EX3.11/3_11.sce
new file mode 100755
index 000000000..3f498ca30
--- /dev/null
+++ b/779/CH3/EX3.11/3_11.sce
@@ -0,0 +1,8 @@
+P1 = 20*1.01325e05;
+V1 = 0.04; V2 = 2*V1;
+n = 1.45;
+P2 = (V1/V2)^n*P1;
+W12 = ((P1*V1)-(P2*V2))/(n-1);
+W23 = P2*(V2-V1);
+Wc = W12-W23;
+disp("J",Wc,"Work done in the cycle is") \ No newline at end of file