Just in general:
If i try run the example below i have a different result than the manual:
Mine is 1.93185, 0, 0.517638, 0.
Am i making a mistake? Is the example correct? Any input appreciated
double q1 = sqrt(cos(0.523599)+ 1 + cos(0.523599) +1);
double q2 = sqrt(cos(0.523599) -1 - cos(0.523599) + 1);
double q3 = sqrt(1 - cos(0.523599) - cos(0.523599) + 1);
double q4 = sqrt(cos(0.523599) - cos(0.523599) -1 + 1);



