summaryrefslogtreecommitdiff
path: root/3825/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3825/CH2/EX2.4/Ex2_4.sce')
-rw-r--r--3825/CH2/EX2.4/Ex2_4.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3825/CH2/EX2.4/Ex2_4.sce b/3825/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..64e884bd6
--- /dev/null
+++ b/3825/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,11 @@
+clc
+P1=200 //initial pressure in kPa
+V1=0.1 //initial volume in metre-cube
+P2=500 //final pressure in kPa
+V2=0.2 //final volume in metre-cube
+W=(P1+P2)*(V2-V1)/2 //work done,obtained after derivation in book
+mprintf("W=%ikJ",W)
+
+
+
+