• Prime Number

    What is a prime number? A prime number cannot be divided by another number, with the exception of the number 1 and the number itself. Some prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, and 23. Prime numbers are involved in encryption in today’s technology. Some people think that prime numbers are…

  • Pythagoras Theorem

    What is the Pythagoras theorem? It is $ a^2 + b^2 = c^2$. Here, $a$, $b$ and $c$ are the lengths of a right triangle. Note that $c$ is the hypotenuse of the right triangle. A right triangle has an angle of 90 degrees.

  • Bubble Sort Algorithm in Python

    In this post, I provide a code that performs a bubble sort in python. Before using, I recommend checking the indentations, as this code was written in a standard text-editor. This python bubble-sort algorithm should be fine, though. This python algorithm was written using the example output in Reference 1. One can compare the output of…

  • The Buoyant Force

    This post is about the buoyant force and the Archimedes principle.