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 /914/CH7/EX7.5/ex7_5.sce | |
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 '914/CH7/EX7.5/ex7_5.sce')
-rwxr-xr-x | 914/CH7/EX7.5/ex7_5.sce | 12 |
1 files changed, 12 insertions, 0 deletions
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);
+
+
|