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.36 | |
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.36')
-rwxr-xr-x | 3137/CH16/EX16.36/Ex16_36.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3137/CH16/EX16.36/Ex16_36.sce b/3137/CH16/EX16.36/Ex16_36.sce new file mode 100755 index 000000000..57c65935f --- /dev/null +++ b/3137/CH16/EX16.36/Ex16_36.sce @@ -0,0 +1,22 @@ +//Initilization of variables
+vo=0 //mi/h
+v=60 //mi/h
+t=13.8 //s
+W=3385 //lb
+xb=46 //in
+xf=66 //in
+xv=31 //in
+g=32.2 //ft/s^2
+//Calculations
+a=(((v*88*60)/3600)-vo)/t //ft/s^2
+//Summing horizontal forces
+F=(W/g)*a //lb
+//Solving for Rf and Rr
+A=[1,1;-xf,xb]
+B=[W;-F*xv]
+C=inv(A)*B
+Rr=C(1) //lb
+Rf=C(2) //lb
+//Result
+clc
+printf('The value of reactions are Rf=%f lb and Rr=%f lb',Rf,Rr)
|