![]() |
![]() |
![]() |
|
|
|||||||
| Math and Physics Discuss the complex nature of mathmatics and physics relating to electronic circuitry. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
After your correction, an equivalent equation is: t=RC ln[V/(V-Vc)] Last edited by eng1; 1st September 2007 at 04:40 PM. |
||
|
|
|
|
|
(permalink) |
|
I'm glad we sorted that out in the end!
__________________
Len |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Oh, what a tangled web we weave, When first we practice to... help someone. |
||
|
|
|
|
|
(permalink) |
|
Well I put the formula into Just BASIC
Code:
VDD = 5 R = 649 C = .00018 Vc = 3.125 print R*C*(exp(1)*(1-(Vc/VDD))) Shall we start discussing ideal values for R1 & R2 |
|
|
|
|
|
|
(permalink) |
|
Bill,
I don't understand why you have exp(1)* rather than ln And it is RC ln{1/(1 - Vc/V)}
__________________
Len Last edited by ljcox; 2nd September 2007 at 01:53 AM. |
|
|
|
|
|
|
(permalink) |
|
The "Just BASIC" compiler does not have an ln() statement.
exp(1) [2.71828183] seems to work fine, I'll remove the brackets. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Some Basics consider the 'log' statement as meaning natural logs to base 'e' Try 'print log(2.71828183)' you most likely get '1', this will confirm that your Basic considers 'log' as a natural log reference.== 'ln'
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 2nd September 2007 at 07:41 AM. |
||
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
ln (x) = 2.302585 * log10 (x) |
|||
|
|
|
|
|
(permalink) |
|
I never saw the point of the exp function, surly it's easier to do 2.71828183^x.
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez |
|
|
|
|
|
|
(permalink) |
|
Not really.
x ^ y where y is non-integer is calculated as base ^ (y * log-base x). If base is 10, then x ^ y is 10 ^ (y log10 x). We used to do this with paper, pencil, and a table of logarithms. If base is e, then x ^ y is e ^ (y log-e x), or exp(y * ln(x)). There are approximating polynomials for doing this on a computer. |
|
|
|
|
|
|
(permalink) |
|
The "ln" is an abreviation for "natural" or "Naperian" logarithms. Named after the Scottish mathemetician John Napier.
http://en.wikipedia.org/wiki/John_Napier |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Line Detection Robot using PIC16F877 | helmyshahryl | Micro Controllers | 0 | 28th August 2007 01:53 AM |
| Using Low side drivers with high side P-Mos transistors | Tradiator | General Electronics Chat | 8 | 7th August 2007 08:04 PM |
| Simple High side N-Channel MOSFET driver | clipo | General Electronics Chat | 10 | 5th April 2007 03:43 PM |
| h-bridge high side issolation | Sceadwian | General Electronics Chat | 8 | 21st December 2006 12:14 AM |
| Beginner Questions: AC, Impedence, Transistors, and Salving | budidharma | General Electronics Chat | 5 | 9th December 2004 08:43 PM |