A beam with length L = 40 in and a rectangular cross section with 2 in width and 3 in height, is subjected to a uniformly distributed load of 50 lb/in over its top surface. a concentrated force F= 1000 lb is applied at L/2. Find the max bending and shear stresses.