The magic potential is
.
Where
and
are constants.
Find the value of magic potential.
\
Substitute
.

Consider
.
Substitute
.
Apply derivative on each side with respect to
.


If
then
.
Substitute the corresponding values in
.



.
.
If
then
.
Apply trigonometric identity :
.
Substitute
.



.

Substitute
.




Substitute
.


Therefore, the magic potential is
.
The magic potential is
.