# More formulas

1. Click on the widget below *Contribution*, and enter this formula, either manually or by copy & paste:

<mark style="color:blue;">#startAmount</mark> + (<mark style="color:blue;">#year</mark> \* <mark style="color:blue;">#addRate</mark>)

2. Type the *Return* key or just click outside of the formula editor afterwards. You see now the total contribution you willl add to the investment over the years.

<figure><img src="/files/PbMBJ5geLeCujylP1POI" alt=""><figcaption></figcaption></figure>

3. Click on the widget below *Total Value*, and enter this formula:

<mark style="color:blue;">#startAmount</mark> \* ((1+<mark style="color:blue;">#growthRate</mark>)^<mark style="color:blue;">#year</mark>)+<mark style="color:blue;">#addRate</mark>\*((1+<mark style="color:blue;">#growthRate</mark>)^<mark style="color:blue;">#year</mark>-1)/<mark style="color:blue;">#growthRate</mark>

4. Type the *Return* key or just click outside of the formula editor afterwards. You see now the total value of the investment over the years.

**Note**: This is a more complicated financial function (called "NVP formula"), using all available arithmetical functions in nedyx, including the exponential operator "^".

5. Click on the widget below *Growth*, and enter this formula, either manually or by copy & paste:

<mark style="color:blue;">#totalValue</mark> - <mark style="color:blue;">#contribution</mark>

Now all calculation formulas are defined. You can check the result by changing the values in the four cell widgets. The content of the table widgets adjusts automatically.


---

# 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.nedyx.com/nedyx/getting-started/more-formulas.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.
