I'm currently trying to fit the diagonals of the decagon inside the circle
like this 
in C # my approach will create a circle
e.Graphics.DrawEllipse(myPen, 0, 0, 100, 100);
and draw the lines inside using
e.Graphics.DrawLine(myPen, 20, 5, 50, 50);
after that I will draw a polygon-decagon.
I'm currently stuck on how to divide a circle into 10 parts / find the correct coordinates of points on a circle circumference because they are not good at math, I want to know how I recognize the next point in a circle circumference, the size of which is indicated above.
and I also want to ask the best approach to my problem.
Thanks:)
math c # algorithm winforms
user2705620
source share