summaryrefslogtreecommitdiff
path: root/3785/CH2/EX2.10/Ex2_10.sce
blob: 54a5602bc68a72e6a793e8ba1f82941d80a98aae (plain)
1
2
3
4
5
6
7
8
9
10
// Example 2_10
clc;funcprot(0);
// Given data
rho_w=1*10^3;// The density of water in kg/m^3
r=7.3*10^-2;// The air/water interfacial tension in N/m
g=9.8066;// The acceleration due to gravity in m/s^2

// Calculation
d=sqrt((6*r)/(rho_w*g))*10^3;// The approximate maximum diameter d of a bubble of air in water in mm
printf("\nThe approximate maximum diameter d of a bubble of air in water is %1.1f m",d);