# Anyone know how to do equivalent n period discount rate on wolfram

**URL:** <https://community.wolfram.com/t/anyone-know-how-to-do-equivalent-n-period-discount-rate-on-wolfram/3695>\
**Category:** Questions\
**Tags:** finance\
**Created:** [October 19, 2014, 3:39am UTC](https://community.wolfram.com/t/anyone-know-how-to-do-equivalent-n-period-discount-rate-on-wolfram/3695 "2014-10-19T03:39:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![azadny23](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@azadny23](https://community.wolfram.com/u/azadny23)\
**Post date:** [October 19, 2014, 3:39am UTC](https://community.wolfram.com/t/anyone-know-how-to-do-equivalent-n-period-discount-rate-on-wolfram/3695/1 "2014-10-19T03:39:49Z")

</div>

(1+0.22)1/4-1

---

<div class="post-metadata">

**Author:** ![priyanfernando](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@priyanfernando](https://community.wolfram.com/u/priyanfernando)\
**Post date:** [October 20, 2014, 2:26am UTC](https://community.wolfram.com/t/anyone-know-how-to-do-equivalent-n-period-discount-rate-on-wolfram/3695/2 "2014-10-20T02:26:53Z")

</div>

I don’t understand the example/calculation. However there are examples here for discount rate solving:

> **[TimeValue—Wolfram Documentation](https://reference.wolfram.com/language/ref/TimeValue.html)**
>
> TimeValue\[s, i, t\] calculates the time value of a security s at time t for an interest specified by i.

---

<div class="post-metadata">

**Author:** ![dlkeith](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/dlkeith/32/31494_2.png) [@dlkeith](https://community.wolfram.com/u/dlkeith)\
**Post date:** [October 20, 2014, 4:21pm UTC](https://community.wolfram.com/t/anyone-know-how-to-do-equivalent-n-period-discount-rate-on-wolfram/3695/3 "2014-10-20T16:21:46Z")

</div>

Perhaps your problem is this: I made 22% on an investment over 4 years. What is the equivalent annual rate?  
If so, your expression in Wolfram Language is:

```
In[1]:= (1 + 0.22)^0.25 - 1

Out[1]= 0.0509691

```

---

<div class="post-metadata">

**Author:** ![priyanfernando](https://avatars.discourse-cdn.com/v4/letter/p/50afbb/32.png) [@priyanfernando](https://community.wolfram.com/u/priyanfernando)\
**Post date:** [October 20, 2014, 5:55pm UTC](https://community.wolfram.com/t/anyone-know-how-to-do-equivalent-n-period-discount-rate-on-wolfram/3695/4 "2014-10-20T17:55:12Z")

</div>

Using the Mathematica Time Value function:

```
FindRoot[TimeValue[100, x, 4] == 122, {x, 1}]

```

Which is the same calculation.
