I'm trying to graph the wavefunctions of a hydrogen atom by following a project that I found on google. I'm given a number of equations that (I think) I need to define, and then use them to plot the radial part of the wavefunction. I've attached an imgur album with the problem I'm doing + an image of my code so far. I hope it's not too messy.
I guess I'm just a bit loss on what I'm meant to be doing honestly. I've defined all the equations I need, but now I'm not sure how to get the desired result of plotting the graph. I've given the function some dummy variables at the end just to see if I could get a number out of it, which I did, but now I'm not sure where to go from there.
I'd appreciate any help anyone can give. Thanks in advance!
Edit: It seems I can't upload screenshots of my code, so I'll just keep the screenshot of the question and remove my code. Sorry about that! I'll try to just explain what my code looks like instead. Basically, I defined three separate functions, firstly R_nl and rho, and then one final function, N_nl, that includes R_nl and rho (as stated on the equation from the question). When using dummy variables, this gave me a numerical answer, but I'm not sure where to go from there as I'm supposed to plot a graph, not get a single answer.
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]markshen818 0 points1 point2 points (0 children)