Write a program that will generate a table of maximum allowable span lengths for a group of 2-in.-thick planks (ranging from 4 in. to 12 in. deep in 12-in. increments) as a function of applied uniformly distributed load. The planks are to bend about their strong axes.
Both moment and shear should be considered. The load should range from 50 lb/ft to 120 lb/ft in steps of 10 lb/ft. User input is to be allowable bending stress and allowable horizontal shear stress. Assume the wood to have a unit weight of 35 pcf. Use full nominal dimensions.