| Download
SageMath notebooks associated to the Black Hole Lectures (https://luth.obspm.fr/~luthier/gourgoulhon/bh16)
Project: BHLectures
Views: 20110Kernel: SageMath 9.1.beta3
Periastron/apoastron of null geodesics in Schwarzschild spacetime and related quantities
This Jupyter/SageMath notebook is relative to the lectures Geometry and physics of black holes.
Click here to download the notebook file (ipynb format). To run it, you must start SageMath with sage -n jupyter
.
In [2]:
'SageMath version 9.1.beta3, Release Date: 2020-02-02'
In [3]:
The cubic polynomial
In [4]:
In [5]:
Roots via Viète's trigonometric method
In [6]:
In [7]:
In [8]:
In [9]:
In [10]:
In [11]:
In [12]:
In [13]:
In [14]:
In [15]:
In [16]:
Expansions close to
Expansion of the form
In [17]:
In [18]:
In [19]:
In [20]:
In [21]:
Expansion of the form
In [22]:
In [23]:
In [24]:
In [25]:
In [26]:
In [27]:
In [28]:
In [29]:
Another check:
In [30]:
The cubic polynomial
In [31]:
In [32]:
In [33]:
In [34]:
Roots of
The depressed polynomial:
In [35]:
In [36]:
Roots via Viète formula:
In [37]:
In [38]:
In [39]:
In [40]:
In [41]:
In [42]:
In [43]:
In [44]:
Adding for :
In [45]:
Check:
In [46]:
In [47]:
In [48]:
In [49]:
Elliptic modulus
In [50]:
In [51]:
In [52]:
In [53]:
In [54]:
Variable
In [59]:
In [60]:
Function
In [61]:
Series expansion for close to
In [54]:
In [55]:
In [56]:
In [57]:
In [58]:
In [59]:
In [60]:
In [61]:
In [62]:
In [63]:
In [64]:
In [65]:
In [66]:
In [67]:
In [68]:
In [69]:
In [70]:
In [71]:
In [ ]: