{mentor edit: removing code}
Hello @Mohamed_khaled_badr,
What about the exercise’s description? Does this formula available there answer your question?

If you are not familiar with grad and gradapprox, you may want to read the whole assignment again.
Cheers,
Raymond
PS: I am removing your code because we can’t share assignment code here.
1 Like