diff options
Diffstat (limited to '3720/CH5/EX5.6/Ex5_6.sce')
-rw-r--r-- | 3720/CH5/EX5.6/Ex5_6.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/3720/CH5/EX5.6/Ex5_6.sce b/3720/CH5/EX5.6/Ex5_6.sce new file mode 100644 index 000000000..17c9147d2 --- /dev/null +++ b/3720/CH5/EX5.6/Ex5_6.sce @@ -0,0 +1,9 @@ +// Example 5_6
+clc;clear;funcprot(0);
+// Given values
+z_1=5;// m
+g=9.81;// The acceleration due to gravity in m/s^2
+
+// Calculation
+V_2=sqrt(2*g*z_1);// Toricelli equation
+printf('The water leaves the tank with an initial velocity,V_2=%0.1f m/s\n',V_2);
|