# Maple [Maple] Calculating the potential produced by a charge

1. Feb 27, 2017

### Mauro Silva

I have been using Maple for sometime as its document interface feels nicer and more friendly than mathematica's . I have never been able to plot arrows in Mathematica or use indices efficiently. I am more of a curious self teaching physics person. But I just found something interesting when calculating the potential produced by a charge placed outside of a conducting grounded sphere. This example is fully worked out by Jackson - Section 2.2 - Eqs 2.1 to 2.5.
In my numerical example the charge q= 1 Coulomb is placed at the coordinates <0.2 m, 0.2 m, 0.3 m> . The sphere has radius 0.1 m.
It happens that on the sphere, say at <0 m, 0 m, 0.1 m>, the potential should be zero but Maple evaluates it to 10/Pi ~ 3.18 and Mathematica evaluates it to 0.0000114441. On the other hand PocketCas for IOS 10 is giving me exactly zero!
Has anyone seen this kind of problem? Would I making any dumb mistakes ?

2. Feb 27, 2017

### Staff: Mentor

Unless you show the code you are using, there is not much anyone can do to help.

3. Feb 27, 2017

### cryora

In the example, the potential is understood to be 0 at the sphere's surface. Are you trying to calculate the potential of the charge & image charge system (without the conductor), and use that result to represent the potential of the charge & conductor system for points outside of the conductor?