How do you find the length of a curve using integration?