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 /3137/CH13/EX13.8/Ex13_8.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 '3137/CH13/EX13.8/Ex13_8.sce')
-rwxr-xr-x | 3137/CH13/EX13.8/Ex13_8.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3137/CH13/EX13.8/Ex13_8.sce b/3137/CH13/EX13.8/Ex13_8.sce new file mode 100755 index 000000000..09b7805db --- /dev/null +++ b/3137/CH13/EX13.8/Ex13_8.sce @@ -0,0 +1,18 @@ +//Initilization of variables
+m=4 //lb
+v=6 //ft/s
+r=2 //ft
+theta1=40 //degrees
+theta2=20 //degrees
+g=32.2 //ft/s^2
+//Calculations
+a_n=v^2/r //ft/s^2
+//Applying Newtons Principle
+Fi=(m*a_n)/g //lb
+//Solving by matrix method
+A=[cosd(theta1),cosd(theta2);sind(theta1),-sind(theta2)]
+B=[m;Fi]
+C=inv(A)*B //lb
+//Result
+clc
+printf('The value of T and C are %flb and %flb respectively',C(1),C(2))
|