Answer:
the real deal is that you mistook if
cos(x)=y/z gives y=zcos(x)
9.4m questions
12.2m answers