Mathematical Methods for Astronomy 2