This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread 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.