Hi,
I am not sure about a full example on Maxwell’s equation but for the query of gradient, curl and divergence of a vector field, the following documentation will help.
Also if you want to solve partial differential equations you can get started with this documentation.