Originally posted by Shadrock2
View Post
Ad Widget
Collapse
Announcement
Collapse
No announcement yet.
Decibel Equation
Collapse
X
-
-
OK...Gee Whiz...I am still having problems.
Another formula is:
Attenuation (dB) = 20 x log10 x R2/R1 + R2
The example given is confusing then (to me).
They say .....if R1 = R2 the signal is attenuated by 6dB
Well.....if R1 = 100 Ohms and R2 = 100 Ohms
100/100 + 100 = 100/200 = 0.50
Is that right so far.?
If the multiplier is 20db and the log10 (after doing the above math) = 0.50
Wouldn't the answer be:
20dB x 0.50 = 10dB
The book says:
R1 = R2
E(out) = 0.50 x E(in)
Then the signal is attenuated by 6dB.
What am I doing wrong.? Where do they get the 6dB.?
Thank You
(i am assuming i copied this correctly)
Comment
-
Originally posted by trem View PostOK...Gee Whiz...I am still having problems.
Another formula is:
Attenuation (dB) = 20 x log10 x R2/R1 + R2
The example given is confusing then (to me).
They say .....if R1 = R2 the signal is attenuated by 6dB
Well.....if R1 = 100 Ohms and R2 = 100 Ohms
100/100 + 100 = 100/200 = 0.50
Is that right so far.?
Originally posted by trem View PostIf the multiplier is 20db and the log10 (after doing the above math) = 0.50
we got to 100/(100+100) = 0.5
but then failed to take the Log(base10) of 0.5 which is equal to -0.301029995663981
and 20 * -0.301029995663981 will equal right around -6dB
Keep in mind the 6dB (for voltage) and the 3dB (for power) doubling rules are no more than handy engineer's thumbrules, and are are just approximations.If it still won't get loud enough, it's probably broken. - Steve Conner
If the thing works, stop fixing it. - Enzo
We need more chaos in music, in art... I'm here to make it. - Justin Thomas
MANY things in human experience can be easily differentiated, yet *impossible* to express as a measurement. - Juan Fahey
Comment
-
I had to compute dB in a BASIC program for a computer that didn't do Log base 10. I used natural Log:
Log10 (X) = ln (X) / ln (10) ... I think that's right, correct me if I'm wrong.
Made the program run slow but it plotted the right data.WARNING! Musical Instrument amplifiers contain lethal voltages and can retain them even when unplugged. Refer service to qualified personnel.
REMEMBER: Everybody knows that smokin' ain't allowed in school !
Comment
-
10-4
Thank You
I will absorb these ratios.
Thanks So Much (again)
Comment
-
Originally posted by loudthud View PostI had to compute dB in a BASIC program for a computer that didn't do Log base 10. I used natural Log:
Log10 (X) = ln (X) / ln (10) ... I think that's right, correct me if I'm wrong.
Made the program run slow but it plotted the right data.
I hope you're taking a trip down memory lane with that recollection
I always enjoyed making old x86-based computers do computationally-intensive numerical methods in BASIC. My favorite was plotting different fractal patterns. Sometimes took a hefty chunk of an hour to run a sequence, then I'd tweak a constant and run the thing again...If it still won't get loud enough, it's probably broken. - Steve Conner
If the thing works, stop fixing it. - Enzo
We need more chaos in music, in art... I'm here to make it. - Justin Thomas
MANY things in human experience can be easily differentiated, yet *impossible* to express as a measurement. - Juan Fahey
Comment
-
Originally posted by loudthud View PostI had to compute dB in a BASIC program for a computer that didn't do Log base 10. I used natural Log:
Log10 (X) = ln (X) / ln (10) ... I think that's right, correct me if I'm wrong.
Made the program run slow but it plotted the right data.
Log10(x) is that Log10(1/2) .?
I do not know what to do with the second half of the equation .....In(x) divided by In(10)
How do we come up with ..... Log10(0.50) = -0.301
ThanksLast edited by trem; 04-15-2015, 01:56 AM.
Comment
-
Originally posted by trem View PostSorry.....can you guys Dick and Jane this for me.? I am not sure what all the nomenclature represents.
Log10(x) is that Log10(1/2) .?
I do not know what to do with the second half of the equation .....In(x) divided by In(10).
Thanks
IF you want to know Log{base A} of X, it equals Log{base B} of X divided by Log{base B} of A. It's an easy way of computing Logs in any base.
Extra credit: What is the Log base 2 of the base 10 number 0.25 ???Last edited by loudthud; 04-15-2015, 03:45 AM.WARNING! Musical Instrument amplifiers contain lethal voltages and can retain them even when unplugged. Refer service to qualified personnel.
REMEMBER: Everybody knows that smokin' ain't allowed in school !
Comment
-
Originally posted by trem View PostSorry.....can you guys Dick and Jane this for me.?
Just know that there is a difference between base 10 logarithms and base e (or any other base, although base 2 is becoming quite common ), so that you hit the correct key on the calculator.If it still won't get loud enough, it's probably broken. - Steve Conner
If the thing works, stop fixing it. - Enzo
We need more chaos in music, in art... I'm here to make it. - Justin Thomas
MANY things in human experience can be easily differentiated, yet *impossible* to express as a measurement. - Juan Fahey
Comment
-
"Sorry.....can you guys Dick and Jane this for me.? I am not sure what all the nomenclature represents.
Log10(x) is that Log10(1/2) .?
I do not know what to do with the second half of the equation .....In(x) divided by In(10)
How do we come up with ..... Log10(0.50) = -0.301
Thanks"
Trem... You are have trouble understanding the properties of exponents or specifically negative exponents.
There is a web site "Kahn Academy" that can be extraordinarily helpful in understanding math concepts. His explanations are as straightforward as any I have seen. And ultimately thorough. I have used this site myself occasionally.
The site is https://www.khanacademy.org/math/ Or Google it.
I would recommend watching the videos on the properties of exponents in Algebra 1 and on logarithms in Algebra 2
Comment
-
I appreciate the link, and will save it, thanks.
What I do not understand (at this point) is the math that equates Log10(1/2) with 0.301.
I also do not understand the equation:
IF you want to know Log{base A} of X, it equals Log{base B} of X divided by Log{base B} of A.
If Log {base A} = 10, and X = 0.50
what is, or how do I find ..... Log{base B} .?
Comment
-
Originally posted by trem View PostWhat I do not understand (at this point) is the math that equates Log10(1/2) with 0.301.
It's that way because 0.5 = 10^(-0.301). If x is any non zero number then by definition x = 10^log10(x) for logs base 10. similarly x = 2^log2(x) for logs base 2 and x = e^ln(x) for logs to base e.
If you want to know the log to base A of a number (x say) but only have log tables to base B then you can use the formula loudthud posted.
LogA(x) = LogB(x) / LogB(A)Last edited by Dave H; 04-15-2015, 08:06 PM.
Comment
-
Ah...OK...that is Where/Why that formula comes from.
Thanks
Comment
-
Comment