Check whether polarradius is less then radius of circle or not and Angle is between startAngle and endAngle or not
if ( Angle >= startAngle && Angle <= endAngle && polarradius < radius ) document . write ( " " + " " + x + " " + y + " " + " " ) ; else document . write ( " " + " " + x + " " + y + " " + " " ) ; }