Method of Images Explorer

Live Script that calculates and visualizes the electrostatic field of a point charge near a grounded conducting sphere.
75 Downloads
Updated 23 Dec 2024

View License

The method of images is a way to calculate the electrostatic charge density induced on the surface of a conductor by an external charge. It is often taught in an intermediate level course in electricity and magnetism but is appropriate for an introductory course as well. This Live Script uses the method of images to calculate the electrostatic field of a point charge near a grounded conducting sphere in a plane containing the point charge and the center of the sphere. A variety of visualizations are created. In the limit of infinite sphere radius, the results describe a charge near an infinite conducting planar surface. Hyperlinks to documentation, 'Try this' suggestions, and coding 'Challenges' are included for further exploration.

Cite As

Duncan Carlsmith (2026). Method of Images Explorer (https://se.mathworks.com/matlabcentral/fileexchange/177904-method-of-images-explorer), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2024b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

MethodOfImagesExplorer folder

Version Published Release Notes
1.0.0