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/CH16/EX16.51 | |
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/CH16/EX16.51')
-rwxr-xr-x | 3137/CH16/EX16.51/Ex16_51.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3137/CH16/EX16.51/Ex16_51.sce b/3137/CH16/EX16.51/Ex16_51.sce new file mode 100755 index 000000000..b75477345 --- /dev/null +++ b/3137/CH16/EX16.51/Ex16_51.sce @@ -0,0 +1,20 @@ +//Initilizatin of variables
+W=6 //lb
+l=8 //ft
+v=10 //ft/s
+g=32.2 //ft/s^2
+theta1=60 //degrees
+theta2=30 //degrees
+//Calculations
+Fe=(W*v^2)/(g*l*0.5) //lb
+//Using equations of motion
+//Solving for C and T
+A=[cosd(theta1),-cosd(theta2);cosd(theta2),cosd(theta1)]
+B=[-Fe;W]
+P=inv(A)*B //lb
+C=P(1) //lb
+T=P(2) //lb
+//Result
+clc
+printf('The value of C is %f lb and T is %f lb',C,T)
+
|