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