- The question is attached below.
I used the same code , but changing the equation ( line 4). In part (D) , I got a complex number , does it mean that the function is divergence ?
Here's my code :
Part c :
Part d :
Could someone confirm my answer please ? Any help would be greatly appreciated !