# Logarithm

## Overview

![](/files/-MgBWBPL-_i6AjRt8Ynh)

**Logarithm** performs the inverse function of the **Power Node**. Rather than taking a *base* **Value**, raising it to the power of an *exponent*, and returning the *power*, it takes the *base* **Value**, along with the *power*, and returns the *exponent*.

## Exponentiation-Related Nodes

The **Power**, **nth Root**, and **Logarithm** **Nodes** each relate to *exponentiation*. They all take two *known* parameters and return the 3rd *unknown* **Value**.

![](/files/-MIxaU4waqfwwJMxTJbA)

## Attributes

| Attribute | Type          | Description                                                                                                       |
| --------- | ------------- | ----------------------------------------------------------------------------------------------------------------- |
| `Base`    | **Drop-down** | A selection of common bases used in logarithm functions, which are: `2` (binary), `e` (natural) or `10` (common). |

## Inputs

| Input             | Type      | Description                                                           |
| ----------------- | --------- | --------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse** | A standard **Input Pulse**, to trigger the execution of the **Node**. |
| `Input`           | **Float** | The *power* or *antilogarithm* to be used, along with the *base*.     |

## Outputs

| Output             | Type      | Description                                                                                                                            |
| ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse** | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Output`           | **Float** | The *logarithm* of the *base* and *antilogarithm*.                                                                                     |

## External Links

* [*Logarithmic Functions*](https://www.sparknotes.com/math/precalc/exponentialandlogarithmicfunctions/section2/) on sparknotes.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/master/math/logarithm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
