diff options
Diffstat (limited to '2504/CH7/EX7.4')
-rwxr-xr-x | 2504/CH7/EX7.4/7_4.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2504/CH7/EX7.4/7_4.sce b/2504/CH7/EX7.4/7_4.sce new file mode 100755 index 000000000..8f59b08ef --- /dev/null +++ b/2504/CH7/EX7.4/7_4.sce @@ -0,0 +1,9 @@ +clc
+//initialisation of variables
+clear
+d= 4 //in
+v= 6.64 //ft/sec
+//CALCULATIONS
+Q= %pi*0.25*(d/12)^2*v
+//RESULTS
+printf ('Flow rate= %.3f ft^3/sec',Q)
|