https://www.bragitoff.com/2017/09/numerical_root_finding_exercises_c_programming/root-finding-exercise-3-output2/
root finding exercise 3 output2