∇f = (∂f/∂x)i + (∂f/∂y)j + (∂f/∂z)k = 2xi + 2yj + 2zk

dy/dx = 2x

3.2 Evaluate the line integral:

The general solution is given by:

f(x, y, z) = x^2 + y^2 + z^2

The gradient of f is given by:

Scan the code