Case 2 is a simply supported beam with a uniformly distributed load w, a configuration available in all beam tables. The deflection at midspan for this case is given by:
table
back
Simply supported beam – uniformly distributed load