blob: 759d8165f5c2910cdd143d4b1c7ab85cacb3f189 (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
//initialisation of variables
w=3//mm
s=7.26*10^-2//N/m
g=9.79*10^3//N/m^3
d=3*10^-3//m
//CALCULATIONS
h=(4*s)/(g*d)//m
//RESULTS
printf('The rise of water above the surface is=% f m',h)
|