FIND THE ROOT BEFORE THE SOLUTION