THE WHATIS.COM WORD-OF-THE-DAY May 22, 2002 Polish notation ______________ TODAY'S SPONSOR: The .tv Corporation
Save 30% on Web addresses! Not only will you get a great deal on your Web addresses, but you'll also get superior customer service, innovative products and services and a place that is easy to register and manage your Web addresses. Great names are still available. Register the names you want before someone else does! Check it out now: http://WhatIs.com/r/0,,3483,00.htm?the.tvcorporation ______________ TODAY'S WORD: Polish notation See our definition with hyperlinks at http://searchhp.techtarget.com/sDefinition/0,,sid6_gci824619,00.html Polish notation, also known as prefix notation, is a symbolic logic invented by Polish mathematician Jan Lukasiewicz in the 1920s. When using Polish notation, the instruction (operation) precedes the data (operands). In Polish notation, the order (and only the order) of operations and operands determines the result, making parentheses unnecessary. The notation for the expression 3(4 +5) could be expressed as x 3 + 4 5 This contrasts with the traditional algebraic methodology for performing mathematical operations, the Order of Operations. (The mnemonic device for remembering the Order of Operations is "Please Excuse My Dear Aunt Sally" - parentheses, exponents, multiplication, division, addition, subtraction). In the expression 3(4+5), you would work inside the parentheses first to add four plus five and then multiply the result by three. In the early days of the calculator, the end-user had to write down the results of their intermediate steps when using the algebraic Order of Operations. Not only did this slow things down, it provided an opportunity for the end-user to make errors and sometimes defeated the purpose of using a calculating machine. In the 1960s, engineers at Hewlett-Packard decided that it would be easier for end-users to learn Jan Lukasiewicz' logic system than to try and use the Order of Operations on a calculator. They modified Jan Lukasiewicz's system for a calculator keyboard by placing the instructions (operators) after the data (operands). In homage to Jan Lukasiewicz' Polish logic system, the engineers at Hewlett-Packard called their modification reverse Polish notation (RPN). The notation for the expression 3(4+5) would now be expressed as 4 5 + 3 x or it could be further simplified to 4 5 3 + x Reverse Polish notation provided a straightforward solution for calculator or computer software mathematics because it treats the instructions (operators) and the data (operands) as "objects" and processes them in a last-in, first-out (LIFO) basis. This is called a "stack method". (Think of a stack of plates. The last plate you put on the stack will be the first plate taken off the stack.) Modern calculators with memory functions are sophisticated enough to accommodate the use of the traditional algebraic Order of Operations, but users of RPN calculators like the logic's simplicity (and speed) and continue to make it profitable for Hewlett-Packard to manufacture RPN calculators. Some of Hewlett Packard's latest calculators are capable of both RPN and algebraic logic. RELATED TERMS: mnemonic http://whatis.techtarget.com/definition/0,,sid9_gci212582,00.html calculator http://whatis.techtarget.com/definition/0,,sid9_gci813233,00.html Hewlett-Packard http://searchhp.techtarget.com/sDefinition/0,,sid6_gci214558,00.html ______________________ SELECTED LINKS: W. Marshall Leach, Jr. from the Georgia Institute of Technology maintains a Web page to explain reverse Polish notation to his students. http://users.ece.gatech.edu/~mleach/revpol/ Calculator.org explains reverse Polish notation. http://www.calculator.org/rpn.html The Museum of HP Calculators has a reference page for RPN. http://www.hpmuseum.org/rpn.htm SearchHP has several links to articles about Polish notation and reverse Polish notation. http://searchhp.techtarget.com/search/1,293876,sid6,00.html?h=true&query=RPN ______________________ QUIZ #26 | Storage Smarts Is it a petabyte, terabyte, exabyte, or megabyte? Which amount of data is the equivalent of more than 300 feature-length movies, 40,000 faxes, 15,000 CDs converted to MP3 at high fidelity, or enough words that it would take every adult in America speaking at the same time for five minutes to say them all? Find out when you take our latest quiz! http://searchstorage.techtarget.com/sDefinition/0,,sid5_gci822242,00.html ______________________________ .NET INFORMATION CENTER Get up to speed on .NET and what it means for you. Visit our .NET Info Center for SearchVB.com's latest .NET news and development tips. Get one-stop access to the most important resources for understanding Visual Studio.Net direct from Microsoft. http://searchvb.techtarget.com/vsnetHome/0,293828,sid8,00.html ______________________________ RECENT ADDITIONS AND UPDATES [1] REST http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci823682,00.html [2] CamelCase http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci824384,00.html [3] appliance computing http://searchwebservices.techtarget.com/sDefinition/0,,sid26_gci823679,00.html [4] verbose logging http://searchwindowsmanageability.techtarget.com/sDefinition/0,,sid33_gci823745,00.html [5] Cartesian coordinates http://whatis.techtarget.com/definition/0,,sid9_gci824296,00.html ____________________________________________________________________ ::::::::::::::::::: WHATIS.COM CONTACTS ::::::::::::::::::: LOWELL THING, Site Editor ([EMAIL PROTECTED]) ____________________________________________________________________ MARGARET ROUSE, Assistant Editor ([EMAIL PROTECTED]) ___________________________________________________________________ :::::::::::::::::::: ABOUT THIS NEWSLETTER ::::::::::::::::::::: Created by TechTarget (http://www.techtarget.com) TechTarget - The Most Targeted IT Media Copyright 2002, All Rights Reserved. If you would like to sponsor this or any techtarget newsletter, please contact Gabrielle DeRussy at [EMAIL PROTECTED] Unsubscribe from 'Word of the Day' - Simply Reply to this Email with REMOVE within the Body or Subject > or - Go to: http://WhatIs.techtarget.com/register - Log in to edit your profile. - Click on the link to Edit email subscriptions. - Uncheck the box next to the newsletter you wish to unsubscribe from. - When finished, click "Save Changes to My Profile."