summaryrefslogtreecommitdiff
path: root/3705/CH6/EX6.8/Ex6_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3705/CH6/EX6.8/Ex6_8.sce')
-rw-r--r--3705/CH6/EX6.8/Ex6_8.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3705/CH6/EX6.8/Ex6_8.sce b/3705/CH6/EX6.8/Ex6_8.sce
new file mode 100644
index 000000000..ff38e0796
--- /dev/null
+++ b/3705/CH6/EX6.8/Ex6_8.sce
@@ -0,0 +1,17 @@
+
+clear//
+
+//Variable Declaration
+x1=16*3**-1 //Centroid of the triangle in ft
+x2=3 //Centroid of the lower parabola in ft
+x3=6 //Centroid of the rectangle in ft
+x4=20*3**-1 //Centroid of the triangle in ft
+//Moment values
+M1=4800 //Moment in lb.ft
+M2=14400 //Moment in lb.ft
+
+//Calcualtions
+P=((3**-1*4*M1*x2)+(4*M1*x3)+(0.5*4*M1*2*x4))*(x1*8*8*0.5)**-1 //Force P in lb
+
+//Result
+printf("\n The magnitude of force P is %0.1f lb",P)