Treatise on plane and spherical Trigonometry