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