So most people are taught the formula for the volume of a sphere in year 9 or so - V=4/3*pi*r^3.
Here is the proper calculation in spherical co-ordinates. Like a boss.
So most people are taught the formula for the volume of a sphere in year 9 or so - V=4/3*pi*r^3.
Here is the proper calculation in spherical co-ordinates. Like a boss.
Is it possible to find a pattern in the prime numbers? If you arrange them in what is called the Ulam spiral, you can see some clear patterns emerging. There are other spiral shapes which give nice patterns, such as stacking them into a triangle. Here I have tried wrapping them into a Fibonacci spiral, where each dot is slightly further out than the last- and is rotated by a Golden ratio of a full turn (about 0.618034 * 360 = 222.49224 degrees). The red dots are the primes, the blacks the non-primes (composites). Unfortunately, there doesn’t seem to be any pattern. Does there? [code]