## Finite Difference Method solution to Laplace's Equation

version 1.2.0.0 (2.86 KB) by
Objective of the program is to solve for the steady state DC voltage using Finite Difference Method

Updated 19 Dec 2011

Authors - Sathya Swaroop Ganta, Kayatri, Pankaj Arora, Sumanthra Chaudhuri, Projesh Basu, Nikhil Kumar CS

Course - Computational Electromagnetics, Fall 2011

Instructor - Dr. Ananth Krishnan
Assistant Professor
Department of Electrical Engineering
Chennai, India

Description:-
Objective of the program is to solve for the steady state voltage distribution in a region 0<x<30, 0<y<30, given that one of the sides of square is excited with a voltage of 45*(x)*(1-x) Volts and all other sides are maintained at 0 Volts. This voltage at the boundary is symmetrical with its maximum value at centre of the boundary namely x=15. At any iteration, the value of voltage is updated as average of voltages of 4 nearest neighbors, until between consecutive iterations, the error is less than 0.01 V.

### Cite As

Computational Electromagnetics At IIT Madras (2021). Finite Difference Method solution to Laplace's Equation (https://www.mathworks.com/matlabcentral/fileexchange/34232-finite-difference-method-solution-to-laplace-s-equation), MATLAB Central File Exchange. Retrieved .

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