summaryrefslogtreecommitdiff
path: root/3864/CH2/EX2.11/Ex2_11.sce
blob: e3deff5c97dcf80bfe52181a457ea39e18afad82 (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
clear
//
//

//Initilization of Variables

t=10 //mm //Thickness of steel
b1=60 //mm //width of plate1
b2=40 //mm //width of plate2
P=60*10**3 //Load
L=600 //mm //Length of plate
E=2*10**5 //N/mm**2
    
//Calculations

//Extension of taperong bar of rectangular section
dell_l=P*L*(t*E*(b1-b2))**-1*log(b1*b2**-1)

A_av=(b1*t+b2*t)*2**-1 //Average Area //mm**2
dell_l2=P*L*(A_av*E)**-1 

//PErcentage Error
e=(dell_l-dell_l2)*(dell_l)**-1*100

//Result
printf("\n The Percentage Error is %0.2f  ",e)