I seem to really be struggling with this. The question is "By differentiation of the 2s radial wavefunction, show that it has two extrema in its amplitude and locate them".
The wavefunction given is R(2,0)= (2- p/2)e^-p/4 with p = 2r/a(0)
The book differentiated it as dR/dr = 2/a(0) dR/dP (since p = 2r/a(0)) = 2/a(0) (-1/2 - 1/2 +1/8p)e^-p/4 = 0. This step is where I'm confused. I am confused on how they differentiated it to that. I am aware that the derivative of -p/2 is -1/2 and that the derivative of e^-p/4 = (-1/4)e^-p/4 but confused on how they got that finalized version. Please help.