Homeschool Math, www.HomeschoolMath.net website logo

Blog | Newsletter | Ebooks | Worksheets | Curriculum Guide | Lessons & Articles | Amazon Store |
Featured!
How to keep math skills sharp during the summer

Blog
This is where you'll find the latest news and math teaching ideas

Newsletter
Subscribe or see the past volumes. Filled with math teaching information.
starMay newsletter

Hover your mouse above to open a menu of various worksheets you can generate for free!

Advice, reviews, and resources to help you choose a math curriculum!

Games you can play online, interactive tutorials, fun math websites and more. Arranged by topic/level for ease of use.

Learn how to TEACH concepts or about general concerns in math education.

Reviews
In-depth reviews of math products

Math help & tutoring
A list of free message boards, math help websites, and online tutoring services. Click here for an online tutor!

My Amazon Store
See some math products I recommend.

I have two games on my site, plus links to many.

Google

Web HomeschoolMath.net
 

How does the calculator find values of sine (or cosine or tangent)?

Question.
Exactly what happens when i type the sine (or cos or tan etc for that matter) of an angle into my calculator? I type it in and it magically gives me an answer, a number that is essentially unrelated to the angle I inputed. Is the calculator just reading off of a list created from people who used rulers to physically measure the distance on a graph or is there a mathematical function that defines it?


A calculator or computer program is not reading off of a list, but is using an algorithm that gives an approximate value of sine of a given angle. There are several such algorithms. Many times they only use the four basic operations (+, -, x, /) to find the sine or cosine or tangent of a given angle.

One way is to take a certain amount of terms (the more terms, the more accurate the approximation) from the Taylor series for sine:

sin x = x - x3/3! + x5/5! - x7/7! + ...,

where x is in radians. For example, to find out sine 23, first convert 23 to radians by dividing it by 180 and then multiplying by p. We get 23/180 p = 0.401425727958696 0.4014257. Then use the above formula to get the value of sin 0.4014257:

sin 0.4014257 = 0.4014257 - 0.40142573/3! + 0.40142575/5! - 0.40142577/7!
= 0.4014257 - 0.0107811296737492 + 0.000086864959350 - 0.000000333277256
= 0.390731102008345

Calculator would give directly Sin 23 = 0.390731128489274 so the formula hit it right for the first seven decimals (and there even exists and error estimate that tells you how big an error maximum you make when you use a certain number of terms from the Taylor series).
See how closely the polynomial formed from the first four terms of the Taylor series approximates the sine curve near origin.

In the picture they look identical but we know they are not exactly the same, just very very close - even the above calculation shows that.
graph of sine and its Taylor polynomial

Calculators often use the CORDIC algorithm to find values of trigonometric functions, which is based on thinking of the angle as the phase of a complex number in the complex plane, and then rotating the complex number by multiplying it by a succession of constant values.

In fact, the calculator or computer program uses some kind of algorithm based on the basic operations to calculate not only trigonometric values, but also square roots, values of hyperbolic functions and others. The branch of mathematics called numerical methods studies and develops these algorithms. It is an interesting field of mathematics, and one that surely has lots of applications. Of course if you study computer science you will encounter many of them.

See more information:

CORDIC FAQ
Calculating Sine Without Using the Sine Key or a Table
The Magic Calculator and the Sine Addition Formula
Sine Waves - A collection of different ways to generate sine waves in software.

Math Lessons menu

FREE math homework help on www.PhatMath.com
  • 40 Math forums for grades K-12 & College
  • Post/view math problems & solutions
  • Blogs for students, parents, teachers



Download my
Geometry workbook with lots of hands-on drawing problems!










Times Tales

Learn the upper
times tables with
mnemonic stories.

Learn more!


 




HOMESCHOOL MATH NEWSLETTER

Homeschool Math Newsletter comes out once monthly, and includes math teaching articles and tips, Math Mammoth news, and all kinds of little "tidbits" such as math news, interesting links, or humor. The content is equally good for all of us who teach math (not just homeschooling parents).

When you subscribe, you will also receive a GIFT of over 280 FREE math worksheets and sample pages from Math Mammoth books for grades 1-8.

Note: This is a double opt-in list. You will FIRST get an email that asks you to confirm your email address. PLEASE check also your SPAM/JUNK folder for this confirmation email.

Take a peek at the previous volumes here!.

The newsletter service is by Aweber.com. Your email address will not be shared, sold, or distributed to anyone else.

Google

Download 280+ QUALITY math worksheets without cost
Link to us    Sitemap    Contact    About    Privacy    Advertise    Homeschool links    Educational links
Best Homeschool Sites on the Internet - Homeschool Top Sites
Copyright 2003-2008 Homeschool math
http://www.homeschoolmath.net/


 

 

P.S. ....

 

Check out these short video clips from my favorite band - Rockabilly.US. They play oldies, Elvis, country, and top hits of the 50s and 60s. It's a show with large band, costumes, choreography, little skits, "Kid Kritters", 6 dancing/singing girls, junior dancer troupe, etc.

"Be My Baby"
originally by the Ronettes

Impossible Dream (Elvis song)
Most importantly, the band wants to use the uplifting and energetic music to bring some fun, happiness and encouragement into people's lives. They're doing it selflessly to help others, and don't get paid for any of it themselves. And I admire that!

=> See more video clips at YouTube