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.21 | |
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.21')
-rwxr-xr-x | 3137/CH16/EX16.21/Ex16_21.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3137/CH16/EX16.21/Ex16_21.sce b/3137/CH16/EX16.21/Ex16_21.sce new file mode 100755 index 000000000..e6be32617 --- /dev/null +++ b/3137/CH16/EX16.21/Ex16_21.sce @@ -0,0 +1,21 @@ +//initilization of variables
+W=16.1 //lb
+v=9 //ft/s
+phi=30 //degrees
+r=0.5 //ft
+g=32.2 //ft/s^2
+OG=4.5 //ft
+//Calculations
+//Using equations of motion
+an=v^2/OG //ft/s^2
+//Solving for alpha we get
+N=(W/g)*an+W*cosd(phi) //lb
+//Using equations of motion
+A=[1,-r;-1,-r*r]
+B=[W*sind(phi);0]
+C=inv(A)*B
+F=C(1) //lb
+at=C(2) //ft/s^2
+//Result
+clc
+printf('The value of N and F are %f lb and %f lb respectively',N,F)
|