calculate pi
 
Magnets