In[]:=
sol=Solve[q==-z^2/(2L^2),z]
Out[]=
z-
2
Lq
,z2
Lq
2L==z(1+Tanh[z])/.sol(*Twosolutions!*)
Out[]=
2L-
2
Lq
1-Tan2
Lq
,2L2
Lq
1+Tan2
Lq
In[]:=
ContourPlot2L-
2
Lq
1-Tan2
Lq
,{L,-1/3,3},{q,-5,0},FrameFalse,AxesTrue,AxesLabelAutomatic,PlotPoints->100Out[]=
In[]:=
ContourPlot2L
2
Lq
1+Tan2
Lq
,{L,-1,1},{q,-1,1},FrameFalse,AxesTrue,AxesLabelAutomatic,PlotPoints->20Out[]=