Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Other Forums > Math and Physics


Math and Physics Discuss the complex nature of mathmatics and physics relating to electronic circuitry.

Reply
 
Thread Tools Display Modes
Old 1st September 2007, 04:34 PM   (permalink)
Default

Quote:
Originally Posted by eng1
You've tested for equality, but my point was if 1-(V/Vc) is positive (negative) at any instant, also Vc/(Vc-V) is positive (negative) at the same instant because it's the reciprocal.
Len's equation seems correct to me. I got it from Roff's equation applying the formula ln(1/x) = -1*ln(x)
As I pointed out above (we were posting at the same time), my original equation was wrong. Sorry, Len.
__________________
Ron

Roff is online now   Reply With Quote
Old 1st September 2007, 04:34 PM   (permalink)
Default

Quote:
Originally Posted by Roff
t=-R*C*(ln(1-(Vc/V)))
Yes, now the argument of the log function is positive

After your correction, an equivalent equation is:
t=RC ln[V/(V-Vc)]

Last edited by eng1; 1st September 2007 at 04:40 PM.
eng1 is offline   Reply With Quote
Old 1st September 2007, 11:06 PM   (permalink)
Default

I'm glad we sorted that out in the end!
__________________
Len
ljcox is offline   Reply With Quote
Old 2nd September 2007, 12:36 AM   (permalink)
Default

Quote:
Originally Posted by ljcox
I'm glad we sorted that out in the end!
With apologies to Sir Walter Scott...

Oh, what a tangled web we weave,
When first we practice to... help someone.
__________________
Ron

Roff is online now   Reply With Quote
Old 2nd September 2007, 01:32 AM   (permalink)
Default

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)))
Turns out I've got to use the TLC555 version as it will be eaiser to implement.

Shall we start discussing ideal values for R1 & R2
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 2nd September 2007, 01:48 AM   (permalink)
Default

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.
ljcox is offline   Reply With Quote
Old 2nd September 2007, 02:46 AM   (permalink)
Default

The "Just BASIC" compiler does not have an ln() statement.
exp(1) [2.71828183] seems to work fine, I'll remove the brackets.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is offline   Reply With Quote
Old 2nd September 2007, 07:38 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
The "Just BASIC" compiler does not have an ln() statement.
exp(1) [2.71828183] seems to work fine, I'll remove the brackets.
Bill,
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.
ericgibbs is offline   Reply With Quote
Old 2nd September 2007, 09:17 AM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
Bill,
Some Basics consider the 'log' statement as meaning natural logs to base 'e'
Eric, you're right. The manual of that compiler says:
Quote:
LOG(n) Description:
This function returns the natural logarithm of n.

Usage:
print log( 7 ) produces: 1.9459101
BTW, it would be easy to get natural logarithm of x if you could use only base-10 logarithms:
ln (x) = 2.302585 * log10 (x)
eng1 is offline   Reply With Quote
Old 2nd September 2007, 02:27 PM   (permalink)
Default

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
Hero999 is offline   Reply With Quote
Old 3rd September 2007, 05:53 AM   (permalink)
Default

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.
tkbits is offline   Reply With Quote
Old 7th September 2007, 01:14 AM   (permalink)
Default

The "ln" is an abreviation for "natural" or "Naperian" logarithms. Named after the Scottish mathemetician John Napier.

http://en.wikipedia.org/wiki/John_Napier
Papabravo is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
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



All times are GMT. The time now is 05:24 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.