Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

What's All This Calculator Stuff, Anyhow?

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
This topic is archived.
Home » Discuss » Topic Forums » Science Donate to DU
 
pokerfan Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 09:42 AM
Original message
What's All This Calculator Stuff, Anyhow?
(Thoughts on the Accuracy Limits of Scientific Calculators...)

How willingly we trust our calculators! Yet, like everything else, these ubiquitous tools do have limits. In particular, their accuracy limits are beginning to show in our ever more complex and precise engineering calculations. To illustrate the problem, here's a simple calculation that you can work on your own calculator:

((1 − (cos (3/7))2 − (sin (3/7))2 )2)0.25 = 0 ????

Remembering the trigonometric identity for squared sines and cosines, you know the answer has to be zero. But your 10-digit calculator probably gives an answer on the order of 4 x 10-6, a much larger discrepancy than you would expect from the calculator's claimed 10-digit resolution. This error, of course, comes from accumulated truncation and round-off errors in the transcendental algorithms—the computational version of NOISE.

http://electronicdesign.com/Articles/Print.cfm?ArticleID=6140">More

Printer Friendly | Permalink |  | Top
rateyes Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 09:47 AM
Response to Original message
1. That's why I always do my trigonomic expressions long-hand.
Makes my job as a rocket scientist a lot harder, but with rocket science you have to be dead on in your calculations, know what I mean??

:D
Printer Friendly | Permalink |  | Top
 
islandmkl Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 09:48 AM
Response to Original message
2. well...that explains THAT....
must be what's wrong with my bank account balance...
Printer Friendly | Permalink |  | Top
 
HereSince1628 Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 09:48 AM
Response to Original message
3. These technical limits are partly why anti-missle defenses have been undependable
Edited on Wed Apr-01-09 09:49 AM by HereSince1628
Interesting 'Nova' on said problem in the last week or so.
Printer Friendly | Permalink |  | Top
 
Jackpine Radical Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 09:54 AM
Response to Original message
4. I read this just as I was about to sit down with a calculator and finish my taxes.
I think maybe I'll send along a copy of the piece with my tax return. Just to be a little proactive, ya know.
Printer Friendly | Permalink |  | Top
 
caraher Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 01:30 PM
Response to Original message
5. Did you read the article linked in the OP? To the very end?
It might save you some embarrassment before you send it off to your accountant or cite it as a reason ICBM defenses don't really work.
Printer Friendly | Permalink |  | Top
 
Systematic Chaos Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 01:44 PM
Response to Reply #5
6. zomg let this day be over.
:eyes:

PS - nice catch.
Printer Friendly | Permalink |  | Top
 
pokerfan Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 02:15 PM
Response to Reply #5
7. why do you think I posted it today?
:shrug:
Printer Friendly | Permalink |  | Top
 
phantom power Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 02:31 PM
Response to Original message
8. It's kind of funny that he makes an april fools joke out of it...
numeric library errors are a real and sometimes serious problem.

Good way to suck people in, I guess
:)
Printer Friendly | Permalink |  | Top
 
pokerfan Donating Member (1000+ posts) Send PM | Profile | Ignore Wed Apr-01-09 03:10 PM
Response to Reply #8
9. He's a character
I've been reading him for almost twenty years.

Bob Pease is an analog integrated circuit design expert. He has designed several very successful integrated circuits, many of them in continuous production for multiple decades. These include the LM331 voltage to frequency converter, and the LM317 adjustable voltage regulator.

He was, for many years, a staff scientist at National Semiconductor, but was recently laid off. Pease obtained a Bachelors of Science in Electrical Engineering (BSEE) degree from MIT in 1961. He writes a popular monthly column entitled "Pease Porridge" in Electronic Design Magazine in which he shares his slightly off kilter view on the electronics world.

Pease started work in the early 1960s at George A. Philbrick Researches (GAP-R). GAP-R pioneered the first reasonable-cost, mass-produced op amp: the K2-W. At GAP-R, Pease developed many high-performance op amps, built with discrete solid-state components.

He is the author of eight books.

His interests also include hiking and biking in remote places, and working on his old Volkswagen Beetle, to which he often refers in his columns.

http://en.wikipedia.org/wiki/Bob_Pease

Printer Friendly | Permalink |  | Top
 
Canuckistanian Donating Member (1000+ posts) Send PM | Profile | Ignore Sun Apr-05-09 11:24 PM
Response to Reply #9
11. Bob Pease was laid off?
What a monumental blunder. The man is a living treasure and part of electronics history.

WTF was National thinking?
Printer Friendly | Permalink |  | Top
 
BlooInBloo Donating Member (1000+ posts) Send PM | Profile | Ignore Thu Apr-02-09 10:24 PM
Response to Original message
10. Numerical analysis was one of my fav topics.... Getting computers to do math decently is hard...
and fascinating. (Contrary to popular belief, computers actually SUCK ASS at doing math. Bottom line reason1: computers only deal with a finite number of numbers. Bottomline reason2: Computational complexity.)
Printer Friendly | Permalink |  | Top
 
DU AdBot (1000+ posts) Click to send private message to this author Click to view 
this author's profile Click to add 
this author to your buddy list Click to add 
this author to your Ignore list Wed Apr 24th 2024, 06:04 PM
Response to Original message
Advertisements [?]
 Top

Home » Discuss » Topic Forums » Science Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC