Use curve instead.
Add Newton's method example.
Make the example consistent.