summaryrefslogtreecommitdiff
path: root/3685/CH3/EX3.2/Ex3_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3685/CH3/EX3.2/Ex3_2.sce')
-rw-r--r--3685/CH3/EX3.2/Ex3_2.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3685/CH3/EX3.2/Ex3_2.sce b/3685/CH3/EX3.2/Ex3_2.sce
new file mode 100644
index 000000000..0be14e053
--- /dev/null
+++ b/3685/CH3/EX3.2/Ex3_2.sce
@@ -0,0 +1,7 @@
+clc
+dV = 0.6 // Volumetric change in m^3
+P = 101.325e03 // Atmospheric pressure in N/m^2
+Wd = P*dV // Work done in J
+printf("\n Example 3.2")
+printf("\n The displacement work done by the air is %f kJ",Wd/1e3)
+//The answers vary due to round off error