|
Exponenets and floats
I'm working on doing some different things to help and increase the amout of control that we have over the robotwhile driving. What We're setting up is a expodential curve istead of the linear one setup by default. what we're looking at is something like this:
p1_y = 73 * ((1.06526 ^ p1_y - 1) / 100)
This will basically give me a persentage of 73. Can I do this, or is not possible(with the decimal numbers) or does pBasic allow this? Also, is there a default command for doing exponents? Thanks a lot
__________________
I can imagine a world without hate, a world without fear, a world without war. And I can imagine us attacking that world, because they would never expect it.
|