summaryrefslogtreecommitdiff
path: root/3758/CH1/EX1.14/Ex1_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '3758/CH1/EX1.14/Ex1_14.sce')
-rw-r--r--3758/CH1/EX1.14/Ex1_14.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3758/CH1/EX1.14/Ex1_14.sce b/3758/CH1/EX1.14/Ex1_14.sce
new file mode 100644
index 000000000..4633a5aeb
--- /dev/null
+++ b/3758/CH1/EX1.14/Ex1_14.sce
@@ -0,0 +1,8 @@
+v2=0.0112; //final volume in m^3
+v1=0.0113; //initial volume in m^3
+dv=v2-v1; // calculating change in volume
+p1=6.87*10^6; //initial pressure in N/m^2
+p2=13.73*10^6; //final pressure in N/m^2
+dp=p2-p1; //calculating change in pressure
+k=-dp/(dv/v1); //calculating bulk modulus of elasticity
+printf('bulk modulus of elasticity is %f N/m^2',k);