Difference between revisions of "Manuals/calci/LOG"
Jump to navigation
Jump to search
(Created page with "<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify"> Syntax </div></div> ---- <div id="2SpaceContent" align="left"><div class="ZEditBox" align=...") |
|||
Line 1: | Line 1: | ||
− | + | =LOG(number, base)= | |
− | + | *Where 'number' is the positive real number and | |
+ | *'base' is the base of the logarithm. | ||
− | + | LOG() determines the logarithm of a number to the specified base. | |
− | |||
− | |||
− | + | == Description == | |
− | + | LOG(number, base) | |
− | |||
− | |||
− | |||
− | |||
− | + | For Example, | |
− | + | LOG(10, 2) ''returns 3.3219280948873626'' | |
− | |||
− | |||
− | |||
− | |||
− | + | LOG(100,10) ''returns 2'' | |
− | + | *The 'number' should be a positive real number. Else Calci displays NaN error message. | |
+ | *The 'base' should be a positive real number. Else Calci displays NaN error message. | ||
+ | *If the 'base' is omitted, Calci assumes it to be 10. | ||
+ | *The function can be used to find the logarithm of array of numbers with a specified base. | ||
− | + | e.g. LOG(10..20, 2) that displays the output as below - | |
− | |||
− | |||
− | |||
− | + | == Examples == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<div id="6SpaceContent" class="zcontent" align="left"> | <div id="6SpaceContent" class="zcontent" align="left"> | ||
{| id="TABLE3" class="SpreadSheet blue" | {| id="TABLE3" class="SpreadSheet blue" | ||
|- class="even" | |- class="even" | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| class="sshl_f" | 10 | | class="sshl_f" | 10 | ||
| class="sshl_f" | 2 | | class="sshl_f" | 2 | ||
| class="sshl_f" | | | class="sshl_f" | | ||
+ | |||
+ | |- class="odd" | ||
| class="sshl_f" | | | class="sshl_f" | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| class="sshl_f" | | | class="sshl_f" | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| class="sshl_f" | | | class="sshl_f" | | ||
+ | |||
|- class="even" | |- class="even" | ||
− | |||
− | |||
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
+ | |||
|- class="odd" | |- class="odd" | ||
− | |||
− | |||
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
+ | |||
|- class="even" | |- class="even" | ||
− | |||
− | |||
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
| class="sshl_f" | | | class="sshl_f" | | ||
|} | |} | ||
− | |||
− | |||
− | |||
− |
Revision as of 16:02, 5 December 2013
LOG(number, base)
- Where 'number' is the positive real number and
- 'base' is the base of the logarithm.
LOG() determines the logarithm of a number to the specified base.
Description
LOG(number, base)
For Example,
LOG(10, 2) returns 3.3219280948873626
LOG(100,10) returns 2
- The 'number' should be a positive real number. Else Calci displays NaN error message.
- The 'base' should be a positive real number. Else Calci displays NaN error message.
- If the 'base' is omitted, Calci assumes it to be 10.
- The function can be used to find the logarithm of array of numbers with a specified base.
e.g. LOG(10..20, 2) that displays the output as below -
Examples
10 | 2 | |