Recently I purchased a new mobile phone (SAMSUNG SGH-C180) and as always I was curious about the features of the calculator. The manual was short with the description:
Quote:
Perform basic arithmetic functions.
Here's the menu:
* .
# + - x / % ( )
Just an ordinary four-banger, I was thinking first. But then I realized it conforms to algebraic notation:
2+3*4 = 14
(2+3)*4 = 20
Up to 16 places can be displayed, however at most 6 places after the decimal point:
1000*1000*1000*1000*1000 = Out of range
1000*1000*1000*1000*1000-1 = 999999999999999
(1000*1000*1000*1000*1000*1000-1000)/1000 = 999999999999999
(1000*1000*1000*1000*1000-1)/1000 = 999999999999.999355/113 = 3.141593
355000000000/113 = 3141592920.3539821234567890+0.123456 = 1234567890.123456
12345678901+0.123456 = 12345678901.1235
123456789012+0.123456 = 123456789012.1239876543210+0.123456 = 9876543210.123455
98765432109+0.123456 = 98765432109.1235
987654321098+0.123456 = 987654321098.123
Extracting the square root can be done iteratively
since you can edit the last computation:
(3/1+1)/2 = 2
(3/2+2)/2 = 1.75
(3/1.75+1.75)/2 = 1.732143
(3/1.732143+1.732143)/2 = 1.732051
(3/1.732051+1.732051)/2 = 1.732051
Error messages are nice:
1/0 = Can't divide by zero
But then I stumbled over the following:
23+17% = Syntax Error
Only after a while I found out how to use the percentage operation:
23%17 = 6
355%113 = 16
- Who'd consider modulo a basic arithmetic function?
- Have you ever noticed the use of % for this operation in a calculator? (I know it's common in many computer languages.)
Kind regards
Thomas
Edited: 10 Dec 2009, 8:54 p.m.