Correctness of Cosine doesnt work

this is the link of my activity
https://teacher.desmos.com/activitybuilder/custom/67b1241df2f43a53bdfcd175

this correctness work for most value of the number, but not for number 1.57… that is quarter arc. why this happen? can you give me solution?