|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Approximate!
Posted by Joe Johnson at 04/12/2001 10:40 PM EST
Engineer on team #47, Chief Delphi, from Pontiac Central High School and Delphi Automotive Systems. In Reply to: my big beef about pbasic... Posted by Nick on 04/12/2001 10:25 PM EST: Every time I think I can't live without an inverse trig function, I end up finding an approximation that gets me near enough to it without the fuss of actually having to use them. Most of the time, I am able to approximate them close enough with a simple linear function, but if that is not good enough, the lookup/lookdown functions can give about as complex of a function as you could want or need. Finally, if you HAVE to have it, simply devote the EEPROM space to defining ARCSIN, ARCCOS and ARCTAN. It would use up 3/8's of your code space in each programming slot you need the funtions, but this would not be too hard to manage if you break your code up into several slots. I think you could do it if you really needed it. Just my opinion. I have been wrong before (once ;-) Joe J. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A report on off season competitions | Ken Leung | Off-Season Events | 2 | 17-10-2003 13:30 |
| QotW [04-20-03]: Post-season competitions. | Madison | Rumor Mill | 16 | 26-04-2003 01:27 |
| An idea for the 2000 games..(is six weeks enough?) | archiver | 1999 | 18 | 23-06-2002 23:17 |
| Another idea looking for comments | archiver | 1999 | 16 | 23-06-2002 22:01 |
| great storyboard idea | SharkBite | 3D Animation and Competition | 0 | 15-01-2002 20:39 |