Integrate[Cos[theta]^(1 + m) Sin[theta], {phi, 0, 2 Pi}, {theta, 0, Pi/2}]