Post Reply 
How do I learn RPL and solve this problem with it?
09-26-2017, 07:01 PM (This post was last modified: 09-26-2017 08:37 PM by Dieter.)
Post: #36
RE: How do I learn RPL and solve this problem with it?
(09-26-2017 04:37 PM)Gerson W. Barbosa Wrote:  Great insight! I know AWG wire diameters follow a geometric progression, but I wasn’t aware of this happening in resistor series.

Unfortunately the actual resistor values are sometimes rounded up, sometimes down. But there is a way to calculate the nominal values of the E12 series. Here is a code snippet in VBA:

Code:
Function R(i)

a = i Mod 12 + 1
If a < 8 Then w = 0.83 * 1.22 ^ a Else w = 0.88 * 1.204 ^ a
w = Round(w, 1)
R = 10 ^ (i \ 12) * w

End Function
Note: "\" stands for integer division.

Enter an integer i and R(i) returns the i-th value of the E12 series, starting at 1 Ω.

0 => 1
1 => 1,2
2 => 1,5
3 => 1,8
...
10 => 6,8
11 => 8,2
12 => 10
13 => 12
14 => 15
...
53 => 27000
54 => 33000
...

Dieter
Edited to correct an error in the program code
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How do I learn RPL and solve this problem with it? - Dieter - 09-26-2017 07:01 PM



User(s) browsing this thread: 1 Guest(s)