# EXP

The EXP function returns e raised to the power of a given number. This is the reverse of ln, the natural logarithm of number.

### Syntax

EXP(value) - > number

### Arguments

<table><thead><tr><th width="139.33333333333331">Arguments</th><th width="238">Datatype</th><th>Description</th></tr></thead><tbody><tr><td>value</td><td>Number, Node reference</td><td>The exponent applied to the base e. This is a required argument.</td></tr></tbody></table>

### Example&#x20;

Consider a scenario where we have the 2020 population figures of 5 major cities. Our goal is to estimate the population in the year 2030 assuming an average growth rate of 2%.

<table data-header-hidden><thead><tr><th width="132"></th><th></th><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td>City</td><td>New York</td><td>London </td><td>Hongkong</td><td>Toronto</td><td>Los Angeles</td></tr><tr><td>2020 population</td><td>8804190</td><td>9002488</td><td>7960000</td><td>3998747</td><td>6197000</td></tr><tr><td>Growth rate</td><td>0.02</td><td>0.02</td><td>0.02</td><td>0.02</td><td>0.02</td></tr><tr><td>Duration</td><td>10</td><td>10</td><td>10</td><td>10</td><td>10</td></tr></tbody></table>

To achieve this, the following formula should be written in the \[2030 population] node:

**`[2020 population]*`**<mark style="color:blue;">**`EXP`**</mark>***`([`*****`Growth rate]*[Duration])`**

### Result

| 2030 population |
| --------------- |
| 10753461.95     |
| 10995663.67     |
| 9722365.955     |
| 4884080.615     |
| 7569032.892     |


---

# 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.valq.com/model/formula-functions/math-functions/exp.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.
