View Full Version : Exponential
civicgundam
- 2nd February 2008, 05:21
i just have to ask if there is any way to write exponential functions in picbasic or pic basic pro.
If anyone has any idea please let me know
thanks
paul borgmeier
- 2nd February 2008, 14:55
Where there is a will, there is a way....
What does your function look like?
Acetronics2
- 2nd February 2008, 15:04
Hi,
There's no SPECIFIC PbP function, but ...
The SEARCH function could have given ... 7 Hits ...
Alain
skimask
- 2nd February 2008, 19:15
The SEARCH function could have given ... 7 Hits ...
But it didn't...
(SIGH).......... :(
Acetronics2
- 2nd February 2008, 19:30
Ahhhhhhh ???
http://www.picbasic.co.uk/forum/search.php?searchid=448880
He,he ...
MMMhhhhh, for the 18S20 ... the "waiting line" ... just isn't at the right place !!!
Alain
skimask
- 2nd February 2008, 19:37
Ahhhhhhh ???
http://www.picbasic.co.uk/forum/search.php?searchid=448880
He,he ...
Then again...none of those 7 hits are worth anything. So maybe the question was valid after all...
A 6 pack says the exponential function needed also wants to be able to use floating point...(SIGH again)
Acetronics2
- 2nd February 2008, 19:42
Taylor's series then ... and not to be in a hurry !!!
oh, may be we could think to Micromega's co-processors ...
Acetronics2
- 3rd February 2008, 15:20
Also something here ...
http://microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en010982
Alain
duncan303
- 3rd February 2008, 17:19
Here's a collection of different ways to compute logarithms
http://www.dattalo.com/technical/theory/logs.html
Here's an 8-bit logarithm algorithm that executes between 15 and 103 cycles. This version is based on a table look-up plus first order interpolation
http://www.dattalo.com/technical/software/pic/piclog.html
Maybe of interest
Duncan
Powered by vBulletin® Version 4.1.7 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.