In[]:=
f[r_]:=1-++πPmass=/.rrh;T[r_]:=veff[r_]:=
2M
r
2
Q
2
r
8
3
2
r
3+3+8Pπ
2
Q
2
r
4
r
6r
-++8Pπ
2
Q
2
r
4
r
4π
3
r
f[r]
2
r
In[]:=
rp=r/.Last[NSolve[veff[r]0,r,Reals]]/.Mmass
∂
r
Out[]=
In[]:=
rs=/.M0.9;Q=0.1;P=0.3315;min=FindMinimum[T[rh]/.{Q0.5,P0.1}&&0<rh<1,{rh,0.6}]max=FindMaximum[T[rh]/.{Q0.5,P0.1}&&0<rh<1,{rh,0.6}]rs/.rh->0.6rs/.rh->0.37T[0.37]T[0.6]
rp
f[rp]
Out[]=
{0.444635,{rh0.369814}}
Out[]=
{0.526745,{rh0.6}}
Out[]=
0.599717
Out[]=
1.22686
Out[]=
0.444674
Out[]=
0.526745
In[]:=
plot=ParametricPlot[{rs*Cos[θ],rs*Sin[θ]},{rh,0.37,0.6},{θ,0,2*Pi},AxesFalse,ColorFunction->Function[{x,y,rh},ColorData["SunsetColors"][Rescale[T[rh],{T[0.37],T[0.6]}]]],PlotLegendsBarLegend[{"SunsetColors",{T[0.37],T[0.6]}},LegendLabel->Style[HoldForm[T],14]]]
Out[]=
In[]:=
{T[0.39],T[0.40],T[0.42],T[0.45],T[0.50],T[0.51],T[0.55],T[0.59]}
Out[]=
{0.4492,0.45171,0.457189,0.466456,0.484289,0.488165,0.504553,0.522172}
In[]:=
{rs/.rh->0.39,rs/.rh->0.4,rs/.rh->0.42,rs/.rh->0.45,rs/.rh->0.5,rs/.rh->0.51,rs/.rh->0.55,rs/.rh->0.59}
Out[]=
{0.902428,0.8298,0.742836,0.676199,0.627668,0.622295,0.608066,0.600862}