Skip to content
This Repository Contains a Dash Application that illustrates how the method of relaxation can be used to solve for the potential between a rectangular system of capacitors.
Jupyter Notebook Python CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Method of Relaxation Dashboard

Dash Application:

  • This application is deployed on heroku. You can visit the application here!


This repository contains code for creating a dashboard application that displays a surface plot that is associated with a solution to Laplace's equation that was computed using the Method of Relaxation.

This dashboard application was built using Python's dash library. It allows for the user to specify parameters associated with a particular problem statement.

The user can set:

  1. Dimensions of the rectangular system.
  2. Constant Boundary Conditions around the rectangular system.
  3. The number of relaxation iterations to run the algorithm with.

The program than uses the input parameters to approximate the solution to Laplace's equation using the Method of Relaxation.


  • python3.7
  • Third party python libraries listed in requirements.txt

Installation Instructions

  1. Clone the repo
git clone
  1. You can than use the following command to download all the third party libraries needed to run this program.
pip install -r requirements.txt
  1. Run the application!

File Descriptions:

  1. contains the code for the dash application that is used for generating the dashboard.
  2. contains data-structures, as well as the algorithm for the Method of Relaxation that is used in the.
  3. How-It-Works.ipynb: is a jupyter notebook that describes how the Method of Relaxation works.
  4. Assets: Contains the stylesheets that are used in the dash application.
You can’t perform that action at this time.