The circuit diagram is as shown.
As per the book voltage across the capacitor is maximum during resonance that is p=1/√(LC)
But what I found out is a bit different . And it is. p=√((1/LC)-(R²/2L²))
I got this result by solving the 2nd order degree 1 differential equation in terms of q (charge) in capacitor and then found the voltage across across the capacitor as q/c and took its amplitude and differentiated it to get the result. I am not sure if I am right or wrong . please help me out