Add section and code for curve area

@behdad

I wasn't 100% sure if I was putting my code in the right files, but this seems to work locally for me.

(Temporarily closed before some bureaucratic details can be worked out.)
you can just pass `{p1: p1, p2: p4}` here.