Hacker News new | ask | show | jobs
by cyberax 243 days ago
Would an undergrad-level algorithm be faster here?

1. Find the derivative, and use an analytic formula for the roots of a quartic equation.

2. Then evaluate the value at the zeros to look for the intervals that cross the [0,1] segment.