A spherical mirror is having radius of curvature 20cm. Determine its focal length if mirror is (a) concave and (b) convex.