Click here to Skip to main content
15,890,741 members

Comments by magnihan (Top 1 by date)

magnihan 16-Jul-13 18:03pm View    
I have not tested this yet, but now i got a 407 result thats indeed in the range i was looking for.

Edited line of code:
var r = (a * b) / Math.sqrt( Math.pow(b * Math.cos(t), 2) + Math.pow(a * Math.sin(t), 2) );