integrate z^2 dz from 0 to 2