This function calculate the angle in radian of a cos.
double dg_arccos(double x);
dg_arccos(1));
double dg_arccos(double x) { return ((PI / 2) - dg_arcsin(x)); }