Remember Me?
Menu
Home
Search
Today's Posts
Home
Search
Today's Posts
RadioBanter
»
rec.radio.amateur
»
Antenna
>
physical/intuitive understanding of RL/RC time constants?
LinkBack
Thread Tools
Search this Thread
Display Modes
Prev
Next
#
22
October 14th 04, 03:38 AM
Bill Bowden
Posts: n/a
(Alan Horowitz) wrote in message . com...
when a current just starts flowing into a RL or RC circuit, how does
the voltage "know" that it should be increasing exactly 63% during
each time-constant period?
And whence the number 63%?
It just turns out to be 63% if you add up all
the little voltage changes on the capacitor as it
charges during one time constant. The short basic
program below uses 10000 samples and keeps track
of the resistor voltage at each step and then prints
out the final capacitor voltage of 63%. The accuracy
can be improved by taking more samples. Change time
to a smaller value for a better approximation.
Voltage =1
Resistance =1
time = .0001
Limit = 1/time
For n = 1 to Limit
Current = Voltage/Resistance
Voltage = Voltage - (Current*Resistance*time)
Next n
Print "Capacitor voltage = "; (1-Voltage)*100;"%"
'Answer = 63.2139444%
-Bill
Reply With Quote
Thread Tools
Search this Thread
Show Printable Version
Search this Thread
:
Advanced Search
Display Modes
Switch to Linear Mode
Switch to Hybrid Mode
Threaded Mode
Posting Rules
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
On
Pingbacks
are
On
Refbacks
are
On
All times are GMT +1. The time now is
02:46 AM
.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
Contact Us
RadioBanter forum home
Privacy Statement
Copyright © 2017
LinkBack
LinkBack URL
About LinkBacks