ATTACHED IS THE SOLUTION..I also provided you with the formula used to get the gradient.
7.2m questions
9.6m answers