raise a number to the power of another number
WhatamINuts
Posts: 6
Greetings
·· Another crazy question
· I need to implement this Formula on the BS2
··· X^y/x· Where ^ is "to the power of"
·X is a constant of my choice·and Y is a Variable between 1000 and 3000
······· Any ideas ?
· Thanks
··· Have Fun
········ Tim
·· Another crazy question
· I need to implement this Formula on the BS2
··· X^y/x· Where ^ is "to the power of"
·X is a constant of my choice·and Y is a Variable between 1000 and 3000
······· Any ideas ?
· Thanks
··· Have Fun
········ Tim
Comments
····log221000 = 1000
but the resulting loss of precision may be more than your app could sustain.
-Phil
http://www.emesystems.com/BS2math3.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
· I will try the log function as the precision isnlt as important as the curve generated by the numbers.
· I can easily scale the output to what I need.
··· Thanks Again
···· Have Fun
········ Tim
·PS
· The real problem with my approach on the stamp is
·X^y/x· Where ^ is "to the power of"
·X is a constant of my choice·and Y is a Variable between 1000 and 3000
·······
·The Y/x becomes· a fraction say 1000/2500 so I end up with
·· 2500^(1000/2500)= 22
Post Edited (WhatamINuts) : 10/8/2009 8:14:02 PM GMT
·· Problem solved