growth & decay calculation

Thread Starter

spark8217

Joined Aug 29, 2011
64
Hi
will someone please check the following calculation

IL=e^-t/τ
If t=2τ, then
IL=e^2t/τ
IL=e^-2
I STEADY = 107/66*10^-3=0.001621 Amps
IL= 0.001621*0.632(63.2%)
IL= e(66000)(1.39393934*10^-6)/(0.046)
IL=0.001621(e^(-2)) = 2.193784941*10^-4

cheers
spark8217
 

WBahn

Joined Mar 31, 2012
30,082
Sloppiness, sloppiness everywhere.

IL=e^-t/τ
Whatever IL is, it apparently is a pure number. It can't be a current because the right hand side is dimensionless.

Also, note that your equation is actually

IL=[e^(-t)]/τ

Because unary negation is highest priority followed by exponentiation followed by multiplication/division. You need to get in the habit of being explicit with your expressions when you write them in text (and it's not the easiest thing to do) because if you don't then you will almost certainly mess things up when writing code, whether in a program or in a simulator or something else.

If t=2τ, then
IL=e^2t/τ
How on earth do you get that result?

Assuming you are talking about the original equation and not the one directly before it. And note that IL is still dimensionless.

I STEADY = 107/66*10^-3=0.001621 Amps
This is sure out of the blue. Where do these numbers come from? And how do the units magically appear at the end?

IL= 0.001621*0.632(63.2%)
More magic! Now there's a new factor that comes out of nowhere. And where does the 0.632 come from? It's certainly not from the e^(-2)

IL= e(66000)(1.39393934*10^-6)/(0.046)
IL=0.001621(e^(-2)) = 2.193784941*10^-4
At this point I'm totally lost and can't even begin to guess where any of these numbers come from or what they mean. Your first expression yields IL=5.44. You second expression for IL differs by more than four orders of magnitude. Do you really need someone to point out that they don't agree?
 

WBahn

Joined Mar 31, 2012
30,082
Sounds good.

Re-work, re-post, and I'll re-rip. :D

That's how we learn.

Something that might help.

Your starting equation.

\(
I_L=e^{\frac{t}{\tau}}
\)

As noted, if I_L is a current, this equation is wrong because the right-hand side is dimensionless. If the scaling current is "1" (hopefully meaning "1A"), then that needs to be included. This can be done a couple of ways. You can explicitly include it:

\(
I_L=1A \cdot e^{\frac{t}{\tau}}
\)

Or you can introduce a scaling parameter:

\(
I_L=I_0 e^{\frac{t}{\tau}}
I_0 = 1A
\)

When you do use numbers, always, always, always track whatever units are associated with those numbers. The units are a fundamental part of the quantity. Most errors you will make will mess up the units, allowing you to spot and fix most mistakes almost immediately instead of three of four pages of algebra later (trust me, the half page of algebra that seems long now will sometimes pale in comparison to what you may, at times, have to wade through in the "real world"). Also, mistakes that go uncaught lead to errors in the final system and while a doctor that makes a mistake can kill someone, engineers that make mistakes can kill people in job lots. Finally, always, always, always ask if your answers make sense. If they don't, then hammer away at it until either you find the mistake or you understand why the answer is correct and that it does make sense.
 
Top