Casimir Energy of a Ball and Cylinder in the Zeta Function Technique