Poisson Equation for Electrostatic Potential
Versione 1.0.0 (1,63 MB) da
Duncan Carlsmith
Live Script that solves the Poisson equation to find the electrostatic potential surrounding charge near a conductor in two dimensions.
The electrostatic potential V associated with a static charge density ρ is governed by Poisson's equation which follows from Gauss's Law in differential form. This Live Script illustrates how to use the 2nd order central difference approximation for the Laplacian on a square grid to represent Poisson's equation as a matrix equation. The potential values are found by matrix inversion. The example illustrated here is a single line charge inside a cylindrical hole in a conductor.
This script may interest students and instructors of physics. 'Try this' suggestions and coding 'Challenges' are included for further exploration. Alternative methods of solving two-dimensional electrostatics problems are explored in Ref[1-2].
Cita come
Duncan Carlsmith (2026). Poisson Equation for Electrostatic Potential (https://it.mathworks.com/matlabcentral/fileexchange/178404-poisson-equation-for-electrostatic-potential), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2024b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato: Poisson Equation PDE Model Explorer
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
PoissonEquationForElectrostaticPotential folder
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
