exercise 8.2, simple curves y=x^8