You can put this solution on YOUR website! Solve tan(x)cos(x)-cos(x)=0 for principal values of x.
----
tan(x)cos(x)-cos(x) = 0
cos*(tan - 1) = 0
cos = 0
x = 90 degs
------------
tan - 1 = 0
tan = 1
tan = 45 degs
====================
The x = 90 degs solution is not allowed, tan(90) is undefined.