2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/150629A closed form of the electrostatic potential of a homogeneously charged cube is derived by integration. The exact result is compared with multipole expansions for the exterior and interior of the cube. The electrostatic potential of a homogeneously charged square in two-dimensional electrostatics is also determined.5 pages, 1 Postscript figure, uses revtex.styChemical PhysicsElectrostatic potential of a homogeneously charged square and cube in two and three dimensionstext