Education Technology

# Knowledge Base

## Solution 27470: Issues following example Time-Value-of- Money Function in the TI-89 Titanium and Voyage 200 Guidebooks

### Why do I get an error when following the example Time-Value-of- Money Function in the TI-89 Titanium and Voyage 200 Guidebooks?

The example titled "Time-Value-of- Money Function" in both the TI-89 Titanium and Voyage 200 Guidebooks has a typo.

The example listed in the guidebook lists spaces where multiplication signs are supposed to be listed. The corrected instructions are listed below:

tvm(temp1,temp2,temp3,temp4,temp5,temp6)
Func
Local  tempi,tempfunc,tempstr1
-temp3+(1+temp2/1200*temp6)*temp4*((1-(1+temp2/1200)^(-temp1))/(temp2/1200))-temp5*(1+temp2/1200)^(-temp1)®tempfunc
For  tempi,1,5,1
"temp"&exact(string(tempi))®tempstr1
If when(#tempstr1=0,false,false,true) Then
If  tempi=2
Return  approx(nSolve(tempfunc=0,#tempstr1)|#tempstr1>0 and #tempstr1<100)
Return  approx(nSolve(tempfunc=0,#tempstr1))
EndIf
EndFor
Return  "parameter error"
EndFunc