A solution is described for the flexural analysis of a beam by digital computer. Subroutines were written which calculate shear, moment, slope and deflection at any specified point on a beam if the loading is known. Shear deflection may be included for many support conditions. Neither elastic supports nor column effects are considered. The subroutines solve problems of variable beam cross-section and loading by utilizing an extension of McCaulays Method, a generalized step function. The main program provides input-output facilities and also solves for indeterminate reactions on the beam. Problems and their solutions, showing the versatility of this program, are also included.