This is not an identity, it is an equation. And you didn't even consistently put in the argument of the functions! "cos " is meaningless in this situation without the argument.

Now, , so we have

Now let :

The quadratic formula says that

Thus

So

You can do both of them on your calculator. I leave the rest to you.

-Dan