Re: Need help finding the best way to programaticaly solve a specific function for 0



cyrille de brebisson wrote:
hello,

I am trying to find P so that the function ((N/(P*100)+1)^P-1)*100-E equals 0 where P is positive and E and N are of same sign.

I beleive that the function in this domain is only "growing", so it fells that I could use Newton, however, since the function seems to flaten out realy fast, I am afraid that I might end up with rounding issues on the division.

can anyone propose a beter solution to solve that problem?

thanks, cyrille


why not divide by 100, set a=100*N and (1+1/100*E) = b^P and solve P = a/(b-1) ?
.



Relevant Pages

  • Re: (HP48G) Saturn and Cycles
    ... cyrille de Brebisson a écrit: ... you still have not told us which calcualtor you are using exactly... ... HP48GX. ...
    (comp.sys.hp48)
  • Re: how to enter binary number in Delphi
    ... cyrille de Brebisson wrote: ... etc where the nubmers are BINARY, not decimal, not hex, but binary, without having to convert them myself ...
    (alt.comp.lang.borland-delphi)
  • Re: any feedback on the HF tools?
    ... cyrille de Brebisson wrote: ... disproportionate amount of tuning work, it's still barely usable as a ...
    (rec.woodworking)
  • Re: serial port pinout on 50gs
    ... that, I do not know, you will have to dig through the samsung arm9 docos... ... cyrille de Brebisson wrote: ... Much more important to me is what voltage can the 50g's RX pin ...
    (comp.sys.hp48)