Electromagnetic Theory (comments to: firstname.lastname@example.org)
The user may input the magnitude and coordinates of up to ten point charges and a separate test charge. The spreadsheet will calculate the force on the test charge, the field and potential at the position of the test charge, and the potential energy of the test charge. It also calculates the potential at the position of each of the ten point charges, and the potential energy of the charge configuration (minus the test charge). This spreadsheet can be used to check solutions to a wide spectrum of point charge problems typically assigned in introductory electricity and magnetism classes.
|Test Charge||Coords of test charge|
|Calculations for System|
|Calculations for test charge||(does not include test charge)|
|Charge||Coords of other charges||Delta x||Delta y||Separation||Force components||Field Components||Work to position charge||Potential at test charge||Potential at Point do to other points||Work to position point in system|
|Total Force||Total Field||Pot Eng||Potential||Sys Pot Eng|
Download self-unzipping excel file coulomb.exe [Use 'Save File']
This spreadsheet solves Laplace's equation in cylindrical coordinates. A "pipe" is drawn on the previous sheet by entering in values for the potential of the pipe. In this case, the pipe has a constant potential of 100 V. It is assumed that the pipe is symmetric about the x-y plane, so in this case the pipe actually extends from z = -1.25 to z= 1.25. The pipe can easily be extended, or its potential changed by changing the values in the corresponding cells on the data sheet. Multiple pipes can be added if desired. The potential around the pipe can be recalculated by pressing "F9".
There are four different types of formulas on the data sheet. Normally the potential at a given cell is a function of the potentials of the 4 surrounding cells and the cell's distance from the z-axis. When r = 0 a special formula must be used or else the potential would be undefined. The third formula occurs at z = 0 where we take into account that the pipe is symmetric about the x-y plane. The fourth case only involves the cell at (r=0,z=0) which is a combination of the two previous cases.
If you wish to delete the existing pipe and add a new one, you must be careful that the correct formulas get put back in where the pipe was. To erase the existing pipe from this sheet, first highlight cells B11 to G11 and "copy" them. Next, put the cursor on cell B10 and "paste" the copied cells over the top of the existing pipe. A new pipe can now be entered by typing over the existing cells.
Download a self-unzipping file: pipepot.exe (corrected and generalized 7/6/98) [Use 'Save File']
This spreadsheet solves Laplace's equation in two dimensions. Unlike the "pipepot" problem, there is only one type of formula involved in the calculations: The value of a cell is the average of the cells around it. A potential is defined around the perimeter of the rectangle, and the resulting field can be recalculated by pressing "F9".
Values for the potential can also be put in the interior of the rectangle. To delete these potentials, copy a neighboring cell (not in the perimeter though) into the cell you wish to replace.
Download a self-unzipping file rectpot.exe [Use 'Save File']
ANALYSIS OF TWO INFINITE LINES OF POINT CHARGE
This spreadsheet allows the user to look at contour plots (both 2-D and 3-D) of the potential due to two parallel infinitely long lines of uniform charge distribution. The potential is plotted in a plane perpendicular to the charge lines. The user may specify both the charge density on the lines and the x,y coordinates of the lines. The graphs will automatically be updated with any changes in the data.
Note: Double-clicking on the tip of the axis of the graph allows the graph to be rotated for different views (must be done when the chart is highlighted).
|Wire||X Coordinate||Y Coordinate||Charge Density|
Download a self-unzipping file: 2_lines.exe [Use 'Save File']
Back to the Electromagnetic Theory Resource Page