Question #71aff

1 Answer
Jul 12, 2016

The answer is the weird decimal number cos^2(sqrt(-3)) ~= 0.02577cos2(3)0.02577.

Explanation:

The cosine function really only outputs round fractions or whole numbers when some multiple of piπ or a fraction of piπ are input.

For example:
cos(pi) = -1cos(π)=1
cos(pi/2) = 0cos(π2)=0
cos(pi/4) = 1/sqrt(2)cos(π4)=12

If you don't have pi in the input, you are guaranteed to receive a decimal output.