diff options
Diffstat (limited to '3648/CH6/EX6.6/Ex6_6.sce')
-rw-r--r-- | 3648/CH6/EX6.6/Ex6_6.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3648/CH6/EX6.6/Ex6_6.sce b/3648/CH6/EX6.6/Ex6_6.sce new file mode 100644 index 000000000..2470cbdc5 --- /dev/null +++ b/3648/CH6/EX6.6/Ex6_6.sce @@ -0,0 +1,12 @@ +//Example 6_6
+clc();
+clear;
+//To calculate the speed of the pellet before collision
+h=0.30 //units in meters
+g=9.8 //units in meters/sec^2
+v=sqrt(2*g*h) //units in meters/sec
+m1=2 //units in Kgs
+m2=0.010 //units in kgs
+v10=((m1+m2)*v)/m2 //units in meters/sec
+printf("The speed of the pelet before collision is V10=%d meters/sec",v10)
+//In textbook the answer is printed wrong as V10=486 meters/sec the correct answer is V10=487 meters/sec
|