Week 1 Gradient Check assignment error

Hi, I have gone over my code quite a few times and cant find the issue, the error I am getting is “wrong value” any help is appreciated!

{moderator edit - solution code removed}

Hello,
I think you got a wrong formula for gradapprox[i]. It is
image

thank you that was it !