summaryrefslogtreecommitdiff
path: root/3819/CH1/EX1.28/Ex1_28.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3819/CH1/EX1.28/Ex1_28.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3819/CH1/EX1.28/Ex1_28.sce')
-rw-r--r--3819/CH1/EX1.28/Ex1_28.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3819/CH1/EX1.28/Ex1_28.sce b/3819/CH1/EX1.28/Ex1_28.sce
new file mode 100644
index 000000000..514384741
--- /dev/null
+++ b/3819/CH1/EX1.28/Ex1_28.sce
@@ -0,0 +1,23 @@
+// A Textbook of Fluid Mecahnics and Hydraulic Machines - By R K Bansal
+// Chapter 1-Properties of Fluid
+// Problem 1.28
+
+//Given Data Set in the Problem
+d=2.5*10^-3
+st_w=0.0725
+st_m=0.52
+SG_m=13.6
+dens_w=1000
+dens_m=13.6*1000
+g=9.81
+
+//Calculations
+//Using rise=4*surface tension/(density *g *diameter of capillary)
+//CAPILLARY RISE FOR WATER (theta =0,cos 0=1)
+h=4*st_w/(dens_w*g*d)
+mprintf("The rise for water is %f cm \n",h*100)
+
+//CAPILLARY RISE FOR MERCURY
+//Using rise=4*surface tension/(density *g *diameter of capillary)
+h=4*st_m*cos(%pi*130/180)/(dens_m*g*d)
+mprintf("The rise for mercury is %f cm",h*100)