diff options
Diffstat (limited to '2411/CH1/EX1.6/Ex1_6.sce')
-rwxr-xr-x | 2411/CH1/EX1.6/Ex1_6.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/2411/CH1/EX1.6/Ex1_6.sce b/2411/CH1/EX1.6/Ex1_6.sce new file mode 100755 index 000000000..bd48ae4e9 --- /dev/null +++ b/2411/CH1/EX1.6/Ex1_6.sce @@ -0,0 +1,9 @@ +// Scilab Code Ex1.6: Page-12 (2008) +clc; clear; +v = 1; // Let the speed of the ball B be unity, unit +v_prime = v/2; // Speed of the ball after the collision, unit +theta = atand(v_prime/v); // The direction of motion of the ball A after collision, degree +printf("\nThe direction of motion of the ball after collision = %2.0f degree", theta); + +// Result +// The direction of motion of the ball after collision = 27 degree
\ No newline at end of file |