summaryrefslogtreecommitdiff
path: root/3776/CH10/EX10.16/Ex10_16.sce
blob: d1e701290b350ad8c9a979cfb4099d81cf647c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
clear
//Given
l_ad = 1600 //mm - The total length of the beam
l_ab = 600  //mm - The length of AB
l_bc = 600  //mm - The length of BC
e_1 = 0.24  //mm - deflection
e_2 = 0.48  //mm - deflection
E = 35      //GPa
//calculation

A_afe = -(l_ab+l_bc)*e_1*(10**-3)/(2*E)
A_afe = -(l_ab)*e_2*(10**-3)/(4*E)
y_1_b = A_afe + A_afe //rad the slope at the tip  B
x_1 = 1200            //com from B
x_2 = 800             //com from B
y_b = A_afe*x_1 + A_afe*x_2 //mm The maximum deflection at tip B
printf("\n The maximum deflection at tip B %0.2f mm",y_b)
printf("\n The slope at the tip  B %e radians",y_1_b)