From Euclid to Python
A Computational Look at Perfect Numbers
Perfect numbers are integer numbers which are equal to the sum of their proper divisors. For instance, 6 has the proper divisors 1, 2 and 3. And 1+2+3 = 6. …
Physics Paradox? Falling Tower Outruns Free Fall
Event-Based ODE-Solving in Python.
In today's article, we'll cover a counterintuitive, seemingly paraxodical physical effect, how to use event-triggered termination of ordinary differential equation solving on Python, and all along some practice in Lagrangian …
From Points to Polygons and Polyhedra in Python
A Step-by-Step Guide to Understanding Convex Hulls
Recently, I had the problem to find the convex hull of a given set of points. So I to made closer contact with Python's scipy's spatial package. The concept …
Computing Hamiltonian Paths
Here is a little challenge for you. You are free do try solving it yourself, or write a Python program to do it. And here it is: Suppose we you …
The Structure of Polytropic Stars with Python
Stars are colossal spheres of hot gas that undergo nuclear fusion in their cores. To understand the properties and behaviors of stars, astronomers and astrophysicists often apply various models to …