diff options
Diffstat (limited to '896/CH5/EX5.6/6.sce')
-rwxr-xr-x | 896/CH5/EX5.6/6.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/896/CH5/EX5.6/6.sce b/896/CH5/EX5.6/6.sce new file mode 100755 index 000000000..54ce02a70 --- /dev/null +++ b/896/CH5/EX5.6/6.sce @@ -0,0 +1,7 @@ +clc
+//Example 5.6
+//calculate velocity of sailboat using pitot tube
+h=1//m height of water above the water level
+g=9.81//m/s^2
+v=(2*g*h)^0.5//m/s
+printf("The velocity of sailboat is %f m/s",v);
\ No newline at end of file |