Beam Elements

You may want to review the mechanics of beams

Beam Equations

Beam FreeMat (Octave, Matlab) Code

Using Numerical Integration

Derivation using Symbolic Manipulator "Mathematica"