Professional Documents
Culture Documents
MPa := 10 Pa
ORIGIN := 1
4
P := 6 kip
L := 10 ft
I := 10000 cm
E := 200000 MPa
M x , M 1 , R1 , R 2 := M 1 + R1 x + R2 x L if x > L 0 otherwise
+ ( P) x 2 if x > 2
0 otherwise
V x , M 1 , R1 , R2 :=
d M x , M 1 , R1 , R2 dx
) )
slope at left support is implicitly set zero so we can't use the slope and deflection and slope at left support as conditions, we have used them implicitly in the definition of Slope and Deflection that so get a true value directly for the retained variables deflection at left support is implicitly set zero
Slope X , M 1 , R1 , R2 :=
1 M x , M 1 , R 1 , R2 dx E I 0 ft
X , M 1 , R 1 , R2 := Slope x , M 1 , R1 , R2 dx 0 ft
M 1 := 10 ft kip
R 1 := 1 kip
R 2 := 2 kip
Given
L , M 1 , R1 , R2 = 0 ft
2 L , M 1 , R1 , R 2 = 0 ft
M 2 L , M 1 , R1 , R2 = 0 ft kip
Result := find M 1 , R1 , R2
)
R 1 := Result2 R 2 := Result3
M 1 := Result1
M 1 = 9.642 ft kip R 3 := P R1 R 2
R 2 = 2.679 kip
20
10
M x , M1 , R 1 , R 2 ft kip
10
20
10 x ft
15
20
V x , M1 , R 1 , R 2 kip
)
0 5 10 15 20
x ft