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. …

Sept. 24, 2023

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 …

Sept. 17, 2023

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 …

Sept. 10, 2023

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 …

Sept. 3, 2023

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 …

Aug. 27, 2023