Finding the Value of a Triginometric Function Without a Calculator

Click For Summary

Discussion Overview

The discussion revolves around methods for finding the value of trigonometric functions, such as sin(41.3°), without using a calculator. Participants explore the underlying algorithms and mathematical principles that calculators might employ to compute these values, including Taylor series, CORDIC algorithms, and Euler's Formula.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions how to find sin(41.3°) without a calculator and how calculators compute such values.
  • Another participant suggests that calculators use Taylor series expansions for approximations, which are correct to a limited number of digits.
  • A different viewpoint argues that Taylor series converge too slowly for practical use in calculators, proposing that CORDIC algorithms might be employed instead.
  • Euler's Formula is introduced as a method to find exact values of trigonometric functions, though its application to degrees is questioned.
  • Participants discuss the need to convert degrees to radians before applying Euler's Formula.
  • There is a suggestion that calculators cannot use trigonometric functions to compute themselves and must rely on other methods, such as Taylor series, for approximations.

Areas of Agreement / Disagreement

Participants express differing opinions on the methods calculators use to compute trigonometric functions, with no consensus reached on the most effective approach. Some advocate for Taylor series, while others challenge their practicality and suggest alternative algorithms.

Contextual Notes

There are unresolved questions regarding the efficiency and applicability of various mathematical methods for calculating trigonometric values, particularly in relation to the convergence of series and the use of complex exponentials.

DCircuit
Messages
4
Reaction score
0
How can you find, say, sin(41.3°) without using a calculator? Or maybe a better question is: How does a calculator find that value when you punch it in? Also, what about arcsin, arccos, etc... How does a calculator find those values?
 
Mathematics news on Phys.org
They use Taylor series (http://en.wikipedia.org/wiki/Taylor_series) expansions to get an answer that is correct up to a limited number of digits. That way only repeated additions and multiplications are needed.
 
They for sure don't use Taylor because that is much too slow in convergence.
For trigonometric functions in particular some simple systems might use
http://en.wikipedia.org/wiki/CORDIC
In general there are iterative algorithms for each elementary function which use only the basic operation (multiplication,...). I once heard a lecture but can't find the notes anymore :(
Maybe you find some information on
http://www.math.niu.edu/~rusin/known-math/index/65-XX.html
http://www.math.niu.edu/~rusin/known-math/98/special.func.comp
 
Last edited by a moderator:
Actually, Euler's Formula gives the exact values of the Trig functions and is very easy to use.

e^ix = cos(x) + isin(x)
 
:-D

How exactly would you calculate exp(i*41.3°) on paper? (with multiplication and addition only) ;-)
 
And furthermore, I believe that this formula applies only to real numbers (i.e., radian measure), not angles in degree measure, so you would need to convert 41.3° to radians.
 
41.3° = 41.3pi/180 That is easy.

[tex] sinx\ =\ \frac{1}{2i}\left(e^{ix}\ -\ e^{-ix}\right)[/tex]
 
So go ahead and do the complex exponential :D
How would you think calculators do it?
(Hint: They use the trig functions!)
 
They can't use the trig functions to get the trig functions. I guess the only way to evaluate complex exponents is with the Taylor's power series, which will only give you a decimal approximation depending on how far you want to go.
 
  • #10
Good point. And the conclusion is?
(Hint: Calculators don't use the complex exponential to find trig functions)

If you go back to Taylor series, then you start over at Post #2. And the answer is post #3 which says Taylor series converge too slowly to be useful.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
1
Views
2K
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K