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 --- 914/CH7/EX7.5/ex7_5.sce | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 914/CH7/EX7.5/ex7_5.sce (limited to '914/CH7/EX7.5') diff --git a/914/CH7/EX7.5/ex7_5.sce b/914/CH7/EX7.5/ex7_5.sce new file mode 100755 index 000000000..3a9a937c6 --- /dev/null +++ b/914/CH7/EX7.5/ex7_5.sce @@ -0,0 +1,12 @@ +clc; +warning("off"); +printf("\n\n example7.5 - pg 282"); +// given +Fextx=-2522; //[lb] - force in x direction +Fexty=2240; //[lb] - force in y direction +// the force exerted by the elbow on the fluid is the resolution of Fext,x and Fext,y , therefore +Fext=((Fextx)^2+(Fexty)^2)^(1/2); +alpha=180+(atan(Fexty/Fextx))*(180/%pi); +printf("\n\n the force has a magnitude of %flb and a direction of %f from the positive x direction(in the second quadrant",Fext,alpha); + + -- cgit