summaryrefslogtreecommitdiff
path: root/2066/CH7/EX7.8/7_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2066/CH7/EX7.8/7_8.sce')
-rwxr-xr-x2066/CH7/EX7.8/7_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2066/CH7/EX7.8/7_8.sce b/2066/CH7/EX7.8/7_8.sce
new file mode 100755
index 000000000..7bbe6e55e
--- /dev/null
+++ b/2066/CH7/EX7.8/7_8.sce
@@ -0,0 +1,12 @@
+clc
+clear
+//Initialization of variables
+umax=62.2 //ft/s
+r0=18 //in
+e=0.0696 //in
+r=6 //in
+//calculations
+Vs=umax/(8.5 + 5.75*log10(r0/e))
+u=Vs*(8.5 + 5.75*log10(r/e))
+//results
+printf("Velocity = %.1f ft/s",u)