summaryrefslogtreecommitdiff
path: root/555/CH3/EX3.2/2.sce
diff options
context:
space:
mode:
Diffstat (limited to '555/CH3/EX3.2/2.sce')
-rw-r--r--555/CH3/EX3.2/2.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/555/CH3/EX3.2/2.sce b/555/CH3/EX3.2/2.sce
new file mode 100644
index 000000000..8144c7906
--- /dev/null
+++ b/555/CH3/EX3.2/2.sce
@@ -0,0 +1,15 @@
+// Implementation of example 3.2
+// Basic and Applied Thermodynamics by P.K.Nag
+// page 55
+
+clc
+clear
+
+p=101.325 // (kN/m^2)
+dv=0.6 //(m^3)
+
+Wd=(p*dv);
+disp("work done by air =")
+disp(Wd)
+disp("kJ")
+// since the free-air boundary is contracting,the work done by system is negative and surroundings do positive work upon the system