Well, if i type sin(sqrt(3)/2) in my calculator, i know what im doing, but i have no idea what the calculator is doing… every since i first began “using” trig functions, ive been wanting to know what the exact fuctions, but ive never seen how its calculated.
Ok, so to rephrase my question, what the hell does my calculator do when i enter sin(60)??
Take a triangle with a 90 degree angle and a 60 degree angle. The side opposite the 90 degree angle is the hypotenuse, the side opposite the 60 degree angle is called the opposite side. The sine of the 60 degree angle is equal to the length of the opposite divided by the length of the hypotenuse. This will be the same amount no matter what size the triangle is.
I believe modern calculators use look-up tables for most trig functions, and interpolate as necessary.
The alternative would be a Taylor series expansion. From a mathematical point of view, definitions of trig functions in terms of Taylor series have the advantage of allowing complex variables.
Why would modern calculators interpolate, since calculators going back to the HP-35 (circa 1974) did these functions with Taylor series? The algorithms are long since done, and even a 30 year old model is plenty fast enough.
My calcuator (TI-89) gives a different result for sin(x) and sin(x+ .00005). That would be a huge lookup up table, and I don’t know how much harder interpolation is compared to a taylor series.