function getRadius(a, b, degrees) { var t = degrees * (Math.PI / 180); //radians var r = (a * b) / Math.sqrt((b * Math.cos(t))^2 + (a * Math.sin(t))^2); alert(r); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)