Homework for Astro585