View Single Post
  #1   Spotlight this post!  
Unread 30-01-2003, 09:56
Jonbca Jonbca is offline
Registered User
#1084
 
Join Date: Jan 2003
Location: Sarnia
Posts: 9
Jonbca is an unknown quantity at this point
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.