Go to Post ANY team is capable of producing a winning design. This does NOT require anything more than brainpower, and time. - Racer26 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 00:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi