 This expression also works at the poles and at the ±180° meridian.Note that "arctan" must be replaced by "atan2" in computer program implementation.There are several other examples where the use of vector algebra simplifies standard problems.