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