diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3792/CH3/EX3.21/Ex3_21.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3792/CH3/EX3.21/Ex3_21.sce')
-rw-r--r-- | 3792/CH3/EX3.21/Ex3_21.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3792/CH3/EX3.21/Ex3_21.sce b/3792/CH3/EX3.21/Ex3_21.sce new file mode 100644 index 000000000..9772ccb04 --- /dev/null +++ b/3792/CH3/EX3.21/Ex3_21.sce @@ -0,0 +1,17 @@ +// SAMPLE PROBLEM 3/21
+clc;clear;funcprot(0);
+// Given data
+m=0.5;// kg
+v_1x=10;// m/s
+v_1y=0;// m/s
+t_1=1;// s
+t_2=2;// s
+t_3=3;// s
+
+// Calculation
+v_2x=((m*v_1x)-((4*(t_1))+(2*(t_3-t_1))))/(m);// m/s
+v_2y=((m*v_1y)+((1*(t_2))+(2*(t_3-t_2))))/(m);// m/s
+v_2=[v_2x,v_2y];// m/s
+v_2=norm(v_2);// m/s
+theta_x=180+atand(v_2y/v_2x);// degree
+printf("\nThe velocity of the particle at the end of the 3-s interval,v_2=%2.0f m/s \ntheta_x=%3.1f degree",v_2,theta_x);
|