summaryrefslogtreecommitdiff
path: root/2165/CH1/EX1.1/1_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2165/CH1/EX1.1/1_1.sce')
-rwxr-xr-x2165/CH1/EX1.1/1_1.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2165/CH1/EX1.1/1_1.sce b/2165/CH1/EX1.1/1_1.sce
new file mode 100755
index 000000000..054211b07
--- /dev/null
+++ b/2165/CH1/EX1.1/1_1.sce
@@ -0,0 +1,10 @@
+clc
+//initialisation of variables
+p1=280//lb/in^2
+v=2//ft^3
+p2=20//lb/in^2
+v2=18.03//ft^3
+//CALCULATIONS
+W=144*(p1*v-p2*v2)/(1.2-1)//ft/lb
+//RESULTS
+printf('The volume and work done during the expansion=% f ft/lb',W)