| Line 1: |
Line 1: |
| − | =LOG(n, base)= | + | <div style="font-size:30px">'''LOG (Number,Base)'''</div><br/>=LOG(n, base)= |
| | | | |
| − | *Where <math>n</math> is a positive real number and | + | *<math>Number</math> is a positive real number and |
| − | *<math>base</math> is the base of the logarithm. | + | *<math>Base</math> is the base of the logarithm. |
| | | | |
| − | LOG() determines the logarithm of a number to a specified base. | + | LOG() returns the logarithm of a number to a specified base. |
| | | | |
| | == Description == | | == Description == |
| | | | |
| − | LOG(n, base) | + | LOG(Number,Base) |
| | | | |
| | For Example, | | For Example, |
| Line 18: |
Line 18: |
| | LOG(4, 0.5) ''returns -2'' | | LOG(4, 0.5) ''returns -2'' |
| | | | |
| − | *The number <math>n</math> should be a positive real number. Else Calci displays NaN error message. | + | *The <math>Number</math> should be a positive real number. Else Calci displays NaN error message. |
| − | *The <math>base</math> should be a positive real number. Else Calci displays NaN error message. | + | *The <math>Base</math> should be a positive real number. Else Calci displays NaN error message. |
| − | *If the <math>base</math> is omitted, Calci assumes it to be 10. | + | *If the <math>Base</math> is omitted, Calci assumes it to be 10. |
| | *LOG() can be used in an equation as - | | *LOG() can be used in an equation as - |
| | LOG(LOG(10,2),3) + LOG(10,2) ''returns 4.414711580210549'' | | LOG(LOG(10,2),3) + LOG(10,2) ''returns 4.414711580210549'' |