summaryrefslogtreecommitdiff
path: root/3705/CH2/EX2.7/Ex2_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3705/CH2/EX2.7/Ex2_7.sce')
-rw-r--r--3705/CH2/EX2.7/Ex2_7.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3705/CH2/EX2.7/Ex2_7.sce b/3705/CH2/EX2.7/Ex2_7.sce
new file mode 100644
index 000000000..9008e96b4
--- /dev/null
+++ b/3705/CH2/EX2.7/Ex2_7.sce
@@ -0,0 +1,17 @@
+
+clear//
+
+//Variable Declaration
+//Say the ratio of stress in steel to concrete is R
+R=14.286
+sigma_co=6*10**6 //Stress in concrete in Pa
+Ast=3.6*10**-3 //Area of steel in m^2
+Aco=86.4*10**-3 //Area of Concrete in m^2
+
+//Calculation
+sigma_st=R*sigma_co //Stress in steel in Pa
+//Here stress is below the allowable hence safe
+P=sigma_st*Ast+sigma_co*Aco //Allowable force in N
+
+//Result
+printf("\n The maximum allowable force is %0.0f kN",P*10**-3)