Re: yield to maturity
- To: mathgroup at smc.vnet.net
- Subject: [mg41739] Re: yield to maturity
- From: "Tom Hardy" <tomhardy at sdc.cox.net>
- Date: Tue, 3 Jun 2003 07:13:21 -0400 (EDT)
- References: <bbf34j$q2i$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
FindRoot[Sum[ 45/(1+r)^t,{t,1,5}]+1000/(1+r)^5 == 913,{r,0,1}] Out[8]= {r -> 0.0659912} "Jonathan Mann" <mtheory at msn.com> wrote in message news:bbf34j$q2i$1 at smc.vnet.net... > > Hi group, > > I need to solve for r in an equation of the form: > > Sum[I/(1+r)^t, {t,1,n}] + M/(1+r)^n ]==P > > For example's sake, let's say: > > Solve[ Sum[ 45/(1+r)^t ,{t,1,5}] + 1000/(1+r)^5 == 913, r] > > This isn't working out too well. Any ideas? > > Thanks, > > Jonathan Mann > >