summaryrefslogtreecommitdiff
path: root/1627/CH3/EX3.7
diff options
context:
space:
mode:
Diffstat (limited to '1627/CH3/EX3.7')
-rw-r--r--1627/CH3/EX3.7/Ex3_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1627/CH3/EX3.7/Ex3_7.sce b/1627/CH3/EX3.7/Ex3_7.sce
new file mode 100644
index 000000000..cec536a45
--- /dev/null
+++ b/1627/CH3/EX3.7/Ex3_7.sce
@@ -0,0 +1,14 @@
+clc
+//initialisation of variables
+w=5//m
+w1=10//m
+a=60//deg
+y=9802//N/m^3
+//CALCULATIONS
+h=w+((w/2)*sind(a))//m
+F=y*h*(w*w1)//kN
+y2=w+w*sind(a)//m
+Xp=w*[1-(1/3)*(w1+y2)/(w+y2)]//m
+hc=w+Xp*sind(a)//m
+//RESULTS
+printf('The distance from to the center of pressure is=% f m',hc)