summaryrefslogtreecommitdiff
path: root/3845/CH11/EX11.5/Ex11_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3845/CH11/EX11.5/Ex11_5.sce')
-rw-r--r--3845/CH11/EX11.5/Ex11_5.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/3845/CH11/EX11.5/Ex11_5.sce b/3845/CH11/EX11.5/Ex11_5.sce
new file mode 100644
index 000000000..efafff2c6
--- /dev/null
+++ b/3845/CH11/EX11.5/Ex11_5.sce
@@ -0,0 +1,8 @@
+//Example 11.5
+P=1.01*10^5;//Pressure (N/m^2) , which is equal to 1 atm
+g=9.80;//Acceleration due to gravity (m/s^2)
+rho=1*10^3;//Density of water (kg/m^3)
+h=P/(rho*g);//Depth (m)
+printf('Depth below the surface of water = %0.1f m',h)
+//Openstax - College Physics
+//Download for free at http://cnx.org/content/col11406/latest