06-29-2003, 02:29 PM
There's another pi-generator formula, MariuZ and I made, but if you do it in QB, you will have to code a new Sinus function, because the formula uses angles expressed in degrees and not in radians:
n is the number of edges of a polygon...the higher n is, the exacter Pi will be generated....
Code:
Pi = n * Sin(180°/n)
n is the number of edges of a polygon...the higher n is, the exacter Pi will be generated....
B 4 EVER