what does cos-1 mean?
The inverse of the cos function. It helps you find angles - you can look up tutorials on youtube if you want.