This week's book giveaways are in the Java EE and JavaScript forums. We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line! See this thread and this one for details.

hi, i am trying to create a pie chart using SVG and xslt, i have difficulty in calculating x and y coordinates and drawing the arc. i have an example from xml bible.(following assumptions are made) 1.suppose radius of the circle is 100units 2.place the center of the circle at x=100, y=100. 3.start the arc at the position x=100-100 sin(30/2),y=100-100cos(30/2) 4.finish the arc at the position x=100+100sin(30/2), y=100-100cos(30/2) please discuss this elaborately, if you have any better way of doing this, pl let me know. thanks in advance saiprasad.