Student Support Forum: 'How used Do and Solve in the same time' topicStudent Support Forum > General > "How used Do and Solve in the same time"

 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic
 Author Comment/Response Bill Simpson 02/05/13 5:03pm You seem to have several different errors in what you showed. You had Sum{} instead of Sum[]. You were subscripting beyond the end of TauxZC. And there were other problems. See if this perhaps does what you need. In[1]:= TauxCA={0.58`,0.71`,1.1`,1.38`,2.04`,2.47`,2.94`,3.26`,3.49`,3.68`,3.85`,3.99`}; TauxZC={0.5583333333333332`,0.58`}; Do[ TauxZC=Sort[ Join[ TauxZC, Cases[x/.Solve[100==Sum[TauxCA[[i]]*100/(1+TauxZC[[i]])^i+(100+100*TauxCA[[Length[TauxZC]+1]])/(1+x)^(Length[TauxZC]+1),{i,1,Min[Length[TauxCA],Length[TauxZC]]}],x],v_/;v∈Reals&&v>0]]],{i,1,Min[Length[TauxCA]-2,Length[TauxZC]]}]; TauxZC Out[4]= {0.558333,0.58,1.30381,1.30401} URL: ,

 Subject (listing for 'How used Do and Solve in the same time') Author Date Posted How used Do and Solve in the same time Thibault 02/05/13 04:33am Re: How used Do and Solve in the same time Bill Simpson 02/05/13 5:03pm Re: Re: How used Do and Solve in the same time Thibault 02/06/13 04:07am Re: Re: Re: How used Do and Solve in the same t... Bill Simpson 02/06/13 12:57pm Re: Re: Re: Re: How used Do and Solve in the sa... Thibault 02/07/13 04:23am
 < Previous Comment | Next Comment > Help | Reply To Comment | Reply To Topic