summaryrefslogtreecommitdiff
path: root/3864/CH2/EX2.22/Ex2_22.sce
blob: 0949e768ec49dcf0d5e62ff88a1ac4d768864780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
clear
//

//Initilization of Variables

A_a=50*20 //mm //Area of aluminium strip
A_s=50*15 //mm //Area of steel strip
P=50*10**3 //N //Load
E_a=1*10**5 //N/mm**2 //Modulus of aluminium 
E_s=2*10**5 //N/mm**2 //Modulus of steel

//Calculations

//Let P_a and P_s br the Load shared by aluminium and steel strip
//P_a+P_s=P     ..................(1)

//For compatibility condition,dell_l_a=dell_l_s
//P_a*L_a*(A_a*E_a)**-1=P_s*L_s*(A_s*E_s)**-1    .....(2)

//As L_a=L_s we get
//P_s=1.5*P_a   .................(3)
   
//From Equation 1 and 2 we get
P_a=P*2.5**-1

//Substituting in equation 1 we get
P_s=P-P_a

//stress in aluminium strip 
sigma_a=P_a*A_a**-1

//stress in steel strip
sigma_s=P_s*A_s**-1

//Now from the relation we get

//result
printf("\n Stress in  Aluminium strip is %0.2f  N/mm**2",sigma_a)
printf("\n Stress in  steel strip is %0.2f  N/mm**2",sigma_s)