summaryrefslogtreecommitdiff
path: root/1427/CH25/EX25.28
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH25/EX25.28')
-rw-r--r--1427/CH25/EX25.28/25_28.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1427/CH25/EX25.28/25_28.sce b/1427/CH25/EX25.28/25_28.sce
new file mode 100644
index 000000000..f7c2a6543
--- /dev/null
+++ b/1427/CH25/EX25.28/25_28.sce
@@ -0,0 +1,9 @@
+//ques-25.28
+//Calculating surface tension of a liquid
+clc
+r=0.01;//radius of capillary tube (in cm)
+h=6;//height (in cm)
+d=0.8;//density of liquid (in g/mL)
+g=981;//(in dynes/cm^2)
+st=(1/2)*r*h*d*g;
+printf("The surface tension of the liquid is %.2f dynes/cm.",st);