blob: e60f189afa2b36bbf34b189a3e9da048fe3a2e77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clc
//Initialization of variables
f=0.0131
d=0.5 //m
//calculations
V=2.12 //m/s
R=10^6
Q=%pi*d^2 /4 *V
d1=32.8*10^-6 /(V* sqrt(f))
//results
printf("flow rate = %.3f m^3/s",Q)
printf("\n nominal thickness = %.2e m",d1)
|