how would i do cos(x)=8/12
You must use acos.
flip cos to the other side-
x=acos(8/12)
x=48.189685104221