Analyzes a simply supported beam with a concentrated point load at midspan and/or a uniformly distributed load. Computes support reactions, maximum moments, and maximum shear.