That's true, and your exercise uses the latter. (It's called 'function notation'.)But cos (pi^2) not equal ( cos pi )^2
Is that just your uninformed opinion which you are setting against those of more experienced people, or were you told this?This is my understanding.