# 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="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/5qmtl2iJAdMNKQZi38tO/grafik.png" alt=""><figcaption></figcaption></figure>

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

<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.&#x20;
