summaryrefslogtreecommitdiff
path: root/858/CH4/EX4.19/example_19.sce
blob: eb57ad25e050f53d007155b6984cc8e662861825 (plain)
1
2
3
4
5
6
7
8
9
10
clc
clear 
printf("example 4.19 page number 155\n\n")

//to find the flow rate
d = 0.3   //in m
u = 17.63   //avg velocity in m/s

q = (3.14/4)*d^2*u;
printf("volumetric flow rate = %f cubic meter per second",q)