From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 866/CH2/EX2.3/2_3.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 866/CH2/EX2.3/2_3.sce (limited to '866/CH2/EX2.3') 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) -- cgit