summaryrefslogtreecommitdiff
path: root/3785/CH3/EX3.5/Ex3_5.sce
blob: 6e92cd493e16d48b5238f95e04d322a5989661b3 (plain)
1
2
3
4
5
6
7
8
9
// Example 3_5
clc;funcprot(0);
// Given data
R=1;// The radius of a cylindrical tank in m
V_w=1;// The  velocity in mm/s

// Calculation
Q=%pi*R^2*V_w*10^-3;// The volume flow rate of water through the pump in m^3/s
printf("\nThe volume flow rate Q of water through the pump is %1.3e m^3/s",Q);