Plane and spherical trigonometry.