Assignment 3 Week 1

I don’t understand the issue in my code. I passed the test0 but test1 failed.
Please zoom in on the below screenshot.

Hi @Ashish2,

I think I spotted the problem, check the line when you divide by 2*epsilon and verifiy that the operator precedence is according to the formula provided above.

I have removed the solution code from your post as posting it publicly is against the honour code.

Hope that helps.


hey, thanks for your help. I apologize I was not aware, it will not happen again.

No problem @Ashish2, let me know if you solve the issue you were having.

Yes sir its done. i just need to put parenthesis.