I used GeoGebra. It's really awesome for construction

Code:

float trisect(float angle)

{

static const int COMPASS_AND_STRAIGHTEDGE = 3;

return angle / COMPASS_AND_STRAIGHTEDGE; //trisect using only compass and a straightedge

}

{

static const int COMPASS_AND_STRAIGHTEDGE = 3;

return angle / COMPASS_AND_STRAIGHTEDGE; //trisect using only compass and a straightedge

}