Optimal Design of a Beam under Uncertain Loads