The input for arccos can only be from -1 to 1. This is because the cos function can only produce values from -1 to 1. Read more