Difference between revisions of "Manuals/calci/LOG"

From ZCubes Wiki
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:
<div id="16SpaceContent" align="left"><div class="ZEditBox" align="justify">
+
=LOG(number, base)=
  
Syntax
+
*Where 'number' is the positive real number and
 +
*'base' is the base of the logarithm.
  
</div></div>
+
LOG() determines the logarithm of a number to the specified base.
----
 
<div id="2SpaceContent" align="left"><div class="ZEditBox" align="justify">
 
  
Examples
+
== Description ==
  
</div></div>
+
LOG(number, base)
----
 
<div id="8SpaceContent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman">''''''''''''<font size="6"> </font>''' '''''''''</font>'''</div></div>
 
----
 
<div id="11SpaceContent" align="left"><div class="ZEditBox mceEditable" align="justify">
 
  
<font size="5">Description</font>
+
For Example,
  
</div></div>
+
LOG(10, 2) ''returns 3.3219280948873626''
----
 
<div id="10SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">'''<font face="Times New Roman"> <font size="6">LOG</font>  </font>'''</div></div>
 
----
 
<div id="3SpaceContent" class="zcontent" align="left"><br /><div id="7Space" class="gamizbox" title="7Space"><div id="7SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="7SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="7SpaceRollupContent" align="center"></span></span></div><div id="7SpaceCover"><div id="7SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3" face="Times New Roman"> </font>
 
  
'''LOG''' ('''n1''', base)
+
LOG(100,10) ''returns 2''
  
Where''' n1''' is the positive real number. And b'''ase''' is the base of the logarithm.
+
*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.
  
</div></div>
+
e.g. LOG(10..20, 2) that displays the output as below -
----
 
<div id="14SpaceContent" class="zcontent" align="left"><br /><br /><br /><div id="5Space" class="gamizbox" title="5Space"><div id="5SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="5SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="5SpaceRollupContent" align="center"></span></span></div><div id="5SpaceCover"><div id="5SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify">
 
  
LOG function gives you the logarithm of a number to the base you specify.
 
  
</div></div>
+
== Examples ==
----
 
<div id="12SpaceContent" class="zcontent" align="left"><br /><br /><br /><div id="9Space" class="gamizbox" title="9Space"><div id="9SpaceHeader" class="zheaderstyle" title="Double-click to start and stop editing the header."><center></center></div><div id="9SpaceRollup" title="Double-click to rolldown" align="left"><span><span id="9SpaceRollupContent" align="center"></span></span></div><div id="9SpaceCover"><div id="9SpaceContent" class="zcontent" align="left"><div class="ZEditBox" align="justify"><font size="3"><font face="Times New Roman"> 
 
  
Lets see an example in (Column1Row 1, Column2Row1)
 
 
LOG (ni, base)
 
 
LOG (C1R1, C2R1)''''''
 
 
That is LOG (10, 2) is 3.3219
 
 
</font></font></div></div>
 
----
 
 
<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="  " |
 
<div id="6Space_Copy" title="Click and Drag over to AutoFill other cells."></div>
 
| Column1
 
| class="  " | Column2
 
| class="  " | Column3
 
| class="  " | Column4
 
|- class="odd"
 
| class=" " | Row1
 
 
| 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="even"
 
| class="  " | Row2
 
| class="    sshl_f    " |
 
| class="sshl_f      " | 3.321928
 
| class="sshl_f SelectTD  SelectTD ChangeBGColor" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
|- class="odd"
 
| Row3
 
| class="sshl_f" |
 
| class="sshl_f  " |
 
| class="sshl_f                    " |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
 +
 
|- class="even"
 
|- class="even"
| Row4
 
| class="sshl_f" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 +
 
|- class="odd"
 
|- class="odd"
| class=" " | Row5
 
| class="sshl_f" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 +
 
|- class="even"
 
|- class="even"
| Row6
 
| class="sshl_f" |
 
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
| class="sshl_f" |
 
|}
 
|}
 
<div align="left">[[Image:calci1.gif]]</div></div>
 
----
 
</div></div></div></div></div></div></div></div></div>
 

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