log calc
log_calcCompute logarithms of a positive number in any base. Returns the custom-base logarithm, natural logarithm (ln), common logarithm (log10), and binary logarithm (log2). Useful for signal processing (decibel calculations), information theory (entropy in bits), pH chemistry, and general scientific computation. Uses the change-of-base formula log_b(x) = ln(x) / ln(b). Feeds into exponent_calc for inverse operations and scientific_notation for order-of-magnitude analysis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | The logarithm base (default 10). Must be positive and not equal to 1 | |
| value | Yes | The positive number to compute the logarithm of |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log2 | Yes | Binary logarithm (base 2) of the value | |
| log10 | Yes | Common logarithm (base 10) of the value | |
| result | Yes | Logarithm of the value in the specified base: log_base(value) | |
| natural_log | Yes | Natural logarithm (ln) of the value |