I had computer trouble, hence the late reply.
It looks like the [tex]r[/tex] comes from the http://en.wikipedia.org/wiki/Spherical_coordinate_system" . [tex]\lambda = 90^{\circ} - \theta[/tex] is an angle which can be calculated using the spherical coordinate [tex]\theta[/tex]
[tex]\rho[/tex] is the distance from the [tex]z[/tex] axis, and [tex]r[/tex] is the distance from the origin. From the Pythagoras's law, [tex]r^{2} = \rho^{2} + z^{2}[/tex].
I don't know if a whole magnet could be accurately approximated by a single dipole moment. But it might be possible. What I meant in the last post was to take into account all the molecules in the magnet, and assign each of them a magnetic dipole moment, and then calculate the total magnetic field from all of those molecules. But reading about this further, it seems more complicated than I thought. I don't know how to find the individual magnetic dipole moments of molecules (my quantum mechanics is not that good at the moment). The temperature has to be taken into account too. The
https://www.physicsforums.com/forumdisplay.php?f=64" might be a good place to ask how to model a permanent magnet. Solid state physicists do that stuff for a living.
Like I said before, you could also take an experimental approach. If you can measure the voltage between the two ends of the coil at any given time [tex]t[/tex], then that is equal to the electromotive force [tex]\varepsilon[/tex] in the
http://en.wikipedia.org/wiki/Farada...Flux_through_a_surface_and_EMF_around_a_loop", [tex]\lvert \varepsilon \rvert = N \lvert \frac{ d \phi_{B} }{ d t } \rvert[/tex], where [tex]N[/tex] is the number of coils. So you can measure the
rate of change of flux.
You can integrate this(you could do it numerically) to find the flux [tex]\phi_{B}[/tex]. But there will always be an unknown constant. One suggestion I have to overcome this is start with the magnet very far away from the coil so the initial flux is zero ([tex]\phi_{B 0} = 0[/tex]) so that constant is zero, and measure [tex]\varepsilon[/tex] with [tex]t[/tex]. If you also record the position of the magnet with time, then you can find out how the position of the magnet is related to the total flux through the coil.
By the way, I found this cool
http://www.nasa.gov/multimedia/videogallery/index.html?media_id=34952541".
wow.. never knew it was such a complicated problem. I thought it was simple plug and chug, get the simple temperature relation like in solid mechanics when including temperature in strain equation.
May I ask why you need to find the flux through the coil?