summaryrefslogtreecommitdiff
path: root/3648/CH5/EX5.9/Ex5_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3648/CH5/EX5.9/Ex5_9.sce')
-rw-r--r--3648/CH5/EX5.9/Ex5_9.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3648/CH5/EX5.9/Ex5_9.sce b/3648/CH5/EX5.9/Ex5_9.sce
new file mode 100644
index 000000000..a6a8cc092
--- /dev/null
+++ b/3648/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,10 @@
+//Example 5_9
+clc();
+clear;
+//To find out how fast a a ball is going
+m=3 //units in Kg
+g=9.8 //units in meters/sec^2
+hf=0 //units in meters
+h0=4 //units in meters
+vf=2*sqrt(((m*g*-(hf-h0))*0.5)/m) //units in meters/sec
+printf("The ball is moving with a speed of vf=%.2f meters/sec",vf)