summaryrefslogtreecommitdiff
path: root/1286/CH8/EX8.29/8_29.sce
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH8/EX8.29/8_29.sce')
-rwxr-xr-x1286/CH8/EX8.29/8_29.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1286/CH8/EX8.29/8_29.sce b/1286/CH8/EX8.29/8_29.sce
new file mode 100755
index 000000000..8bb937377
--- /dev/null
+++ b/1286/CH8/EX8.29/8_29.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+v2=6//lit
+v1=2//lit
+r=3/2
+p1=1.01*10^5//n/m^2
+//CALCULATIONS
+g=(r+1)/r
+p2=p1*(v2/v1)^g
+w=(1/(g-1))*((p1*v2*10^-3)-(p2*v1*10^-3))
+//results
+printf(' \n work done= % 1f J',w)