Cotangent is the reciprocal of tangent, as it should be. However, cosecant should be the reciprocal of sine.