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 /866/CH2/EX2.3 | |
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 '866/CH2/EX2.3')
-rwxr-xr-x | 866/CH2/EX2.3/2_3.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/866/CH2/EX2.3/2_3.sce b/866/CH2/EX2.3/2_3.sce new file mode 100755 index 000000000..0a151b6c4 --- /dev/null +++ b/866/CH2/EX2.3/2_3.sce @@ -0,0 +1,21 @@ +clc
+//initialisation of variables
+F1= -2*cosd(45) //KN
+F2= -2*sind(45) //KN
+F3= -5 //KN
+x1= 0.4 //m
+x2= 1.0 //m
+Rc= 2.5 //m
+Rd= 3.7 //m
+//CALCULATIONS
+Rah= -F1
+Rav= -F3-F2
+Ma= -F3*x1-F2*x2
+Ra= sqrt(Rc^2+Rd^2)
+theta= atan(Rc/Rd) *180/%pi
+//RESULTS
+printf ('Rah= %.1f kN',Rah)
+printf (' \n Rav=%.1f KN',Rav)
+printf (' \n Ma=%.1f KNm',Ma)
+printf (' \n Ra=%.1f KN',Ra)
+printf (' \n theta=%.1f degrees',theta)
|