Black Holes in Haskell
I find black holes extremely fascinating and have always wanted to dive a bit deeper into them. In the spirit of progressing my programming and math skills while learning new things everyday, I wrote this Haskell program to calculate the time it would take for you to reach the singularity of a Schwarzschild Black Hole assuming you were falling radially. In the future I might expand on this to calculate it for more complex black holes and situations. I did this not only to learn a bit more about the basic maths behind gravity and black holes, but also to get into Haskell as I’ve always wanted to dive a bit deeper into it.