In the 6th exercise of “Optimization Method”, My output is not matching with the expected output, it is very little different from the expected output. I matched my solution with the formula but I was not able to find the bug.
My code is as follows (Blurred), I hope admins can read the blurred message
[Removed solution code]
Please help me in finding bug