General calculation method

  • Find a closed surface passing through the point M where you want to calculate the field

  • Write the definition of the flow

  • Apply Gauss' theorem after calculating the algebraic charge inside the surface.