The Secant method produces the correct output when a = 6. this program is final