summaryrefslogtreecommitdiff
path: root/3772/CH3/EX3.9/Ex3_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3772/CH3/EX3.9/Ex3_9.sce')
-rw-r--r--3772/CH3/EX3.9/Ex3_9.sce32
1 files changed, 32 insertions, 0 deletions
diff --git a/3772/CH3/EX3.9/Ex3_9.sce b/3772/CH3/EX3.9/Ex3_9.sce
new file mode 100644
index 000000000..489c1efc6
--- /dev/null
+++ b/3772/CH3/EX3.9/Ex3_9.sce
@@ -0,0 +1,32 @@
+// Problem 3.9,Page no.59
+
+clc;clear;
+close;
+
+//P is the force acting on the bar BC compressive in nature and force on AB is (100-P) Tensile in nature
+E=200*10*9 //N
+A_1=3*10**-4 //cm**2 //Area of AB
+A_2=4*10**-4 //cm**2 //Area of BC
+L=1.5 //cm //Length of bar
+
+//Calculations
+
+//The total elongation of bar
+//(((100-P)*10**3*1.5)*(3*10**-4*E)**-1)-((P*10**3*1.5)*(4*10**-4*E)**-1)=0
+
+//The total elongation of bar is limited to 1
+//(25-0.4375*P)*10**-4=1*10**-3
+
+//After simplifying above equation we get,
+P=-(10-25)*0.4375**-1 //KN //Total elongation of bar
+F_AB=100-P //KN //force in AB
+F_BC=P //KN //Force in BC
+sigma_AB=(((F_AB)*(3*10**-4)**-1)*10**-3) //KN //Stress in AB
+sigma_BC=((F_BC)*(4*10**-4)**-1*10**-3) //KN //Stress in Bc
+
+
+//Result
+printf("F_AB = %.2f kN",F_AB)
+printf("\n F_BC = %.2f kN",F_BC)
+printf("\n sigma_AB = %.2f kN",sigma_AB)
+printf("\n sigma_BC = %.2f kN",sigma_BC)