Calculating the divergence

Maybe this will help you :