0
$\begingroup$

Im trying to plot the results of the schroedinger equation for hydrogen in mathematica

this is the function I defined:

 Wavefunction[r_, w_, a_, n_, l_, m_] := LaguerreL[n - l - 1, 2*l + 1, 2*r/n]*LegendreP[l, m, Cos[w]]* E^(I*m*a)*Sqrt[((2*l + 1)*(l - m)!)/(4*Pi *(l + m)!)]* E^-(r/(n))*(2*r/(n))^l* Sqrt[(2/(n))^3*(n - l - 1)!/(4*Pi*(n + l)!)] 

Its a bit messy and not necessarily fault free yet, but It doesnt really change my question much. What would be a smart way of plotting this function. its in spherical coordinates, n l and m are quantum numbers, r the radius w and a are angles, LaguerreL and LegendreP are built in functions.

I looked at contourplots and density plots, But I cant come up with a statisfying result in spherical coordinates (and way to display the resulting wavefunctions with say cutouts or translucency)

ps: this is basically what I hope to plot. the electron orbitals of hydrogen: hydrogen orbitals

$\endgroup$
4
  • $\begingroup$ Welcome to Mathematica.SE! I suggest that: 1) You take the introductory Tour now! 2) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! 3) As you receive help, try to give it too, by answering questions in your area of expertise. $\endgroup$ Commented Apr 6, 2015 at 19:13
  • $\begingroup$ The choice is very much a matter of taste. $\endgroup$ Commented Apr 6, 2015 at 19:14
  • $\begingroup$ related mathematica.stackexchange.com/q/19575/1089 or mathematica.stackexchange.com/q/25078/1089 and mathematica.stackexchange.com/q/25516/1089 $\endgroup$ Commented Apr 6, 2015 at 19:53
  • $\begingroup$ I looked at thatone, but I couldnt get the nuts and bolts too match, mainly due to this being in spherical coordinates $\endgroup$ Commented Apr 6, 2015 at 19:55

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.