diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2411/CH1/EX1.6/Ex1_6.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
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 |