Professional Documents
Culture Documents
INTRODUCTION
The three moment equation can be used to analyze statically indeterminate
beams. The three moment equation has the generalized form of
M1L1 + 2M2 (L1 + L2) + M3L2 + 6A1 1/L1 + 6A2 2 /L2 = 6EI (h1/L1 + h3/L2)
Where the points are on the same level in the deflection beam, the height h1 and
h3 becomes zero and so thus the right hand term of the above equation.
In our case we shall deal with a concentrated load and uniform loads see attached
figure as shown in the “PROGRAM RECORD”.
*** Note For a more detail discussion of this subject refers to Ferdinand Singer
pages 270 – 277 “Strength of Materials 2nd edition.
From the figure and applying the generalized form of the three moment equation
we have
COMPUTER OUTPUT
program in the main program. In the third run with end moments known.
Computer solves shear reactions at support.
Loading Diagram P2 P3 P4
W1/ft W2/FT
L1 L2 L3 L4
28
Shear Diagram
Moment Diagram
REFERENCE TEXTBOOK:
Statically Indeterminate CHAPTER 6 PAGES 121 - 127
Structures By Chu Kia
Wang
PROGRAM DISCLAIMER: Any use of the programs to solve problems other than those
displayed is the role responsibility of the user as to whether the output is correct or correctly
interpreted.
Branch out
Main program IF False
40 PRINT” If all data’s are in their consistent units then run line no 60”
50 STOP
60 DATA W1, L1 3, 12
70 DATA W2, L2 2, 24
75 DATA X1, L1 0, 12
90 DATA W2, L2 2, 24
150 INPUT “Relative stiffness factors “: K1, K2, K3, K4:K1, K2, K3, K4 3, 10, 2, 0
160 INPUT “Span length in feet L1, L2, L3, L4”:L1, L2, L3, L4 12, 24, 12, 3
200 X2 = L2/K2
210 RESTORE 60
230 T1 = T
240 GT =T1/K1
250 RESTORE 70
270 A1L1 = A
280 RESTORE
300 Q1 = Q
320 U1 = G1 + R1
350 RESTORE 90
370 T2 = T
380 G2 =T2/K2
410 B2L2 = B
440 Q2 = Q
460 U2 = G2 + R2
480 PRINT TAB (2); X1;”MB”; TAB (7); X2;”MC”; TAB (15); =”C1
500 RESTORE 90
520 T3 = T
530 G3 = T3/K2
570 A2L2 = A
600 Q3 = Q
620 U3 = G3 + R3
32
660 T4 = T
670 G4 = T4/K3
710 B3L3 = B
740 Q4 = Q
760 U4 = R4 + G4
790 X3 = L2/K2
810 PRINT TAB (2); X3;”MB”; TAB (7); X4;”MC”; TAB (15);”=”; C2
820 STOP
840 READ X, L
33
850 A = (X + L)/3
860 RETURN
870 STOP
890 READ X, L
910 RETURN
920 STOP
940 READ W, L
950 T = 1/4*W*L^3
960 RETURN
970 STOP
990 READ P, X, L
1010 RETURN
1020 STOP
3000 REM With three moment equations known solved the equations. Start at
3010 line number
3010
CALL CLEAR
34
3020 PRINT” Put coefficients in data order form starting line 3130, then run line
no 3040”
3030 STOP
3100 for E = 1 TO N
3120 NEXT E
3170 FOR E = 1 TO N
3190 FOR AB = 1 TO N
3210 NEXT AB
3230 F = DELTA/MAT
3250 NEXT E
3260 END
3310 FOR Q = 1 TO N
3320 FOR P = 1 TO N
3340 NEXT P
3350 NEXT Q
3380 RETURN
3505 A = 1
3510 FOR P = 0 TO N – 3
3550 NEXT S
3560 A = Y (1)*A
3600 NEXT Q
3610 NEXT R
3620 NEXT P
3670 RETURN
3700 NEXT D
3720 W = X (1, B)
3740 X (D, B) = W
3750 NEXT B
3770 A = -1*A
3790 STOP
37
4020 PRINT “This is a sub routine program for three moment equation
determination of shear reaction at supports with end moments known”
4025 PRINT ‘Input the following values as data statements in program line no
4030”
4030 DATA MA1, MB1, W1, L1, P1, A1 MA2, MB2, W2, L2, P2, A2, MA3, MB3, W3,
L3, P3, A3
4100 FOR X =1 TO 3
4160 NEXT X
4310 NEXT Y
4350 QA = RA1
39
4420 DATA *** Note for data put value of w4, A4 & P4
4430 RD1 = W4 + A4 + P4
4460 END
40
.
41