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
 Dieter Senior Member Posts: 2,397 Joined: Dec 2013
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
 « Next Oldest | Next Newest »

 Messages In This Thread How do I learn RPL and solve this problem with it? - setq - 09-24-2017, 12:48 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-24-2017, 01:29 PM RE: How do I learn RPL and solve this problem with it? - HP67 - 09-24-2017, 01:44 PM RE: How do I learn RPL and solve this problem with it? - John Keith - 09-24-2017, 03:03 PM RE: How do I learn RPL and solve this problem with it? - setq - 09-24-2017, 03:18 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-24-2017, 03:21 PM RE: How do I learn RPL and solve this problem with it? - HP67 - 09-24-2017, 04:06 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-24-2017, 04:10 PM RE: How do I learn RPL and solve this problem with it? - HP67 - 09-24-2017, 04:14 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-24-2017, 04:17 PM RE: How do I learn RPL and solve this problem with it? - HP67 - 09-24-2017, 04:25 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-24-2017, 06:02 PM RE: How do I learn RPL and solve this problem with it? - Brad Barton - 09-24-2017, 06:35 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-25-2017, 05:48 AM RE: How do I learn RPL and solve this problem with it? - HP67 - 09-25-2017, 04:08 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-25-2017, 05:39 PM RE: How do I learn RPL and solve this problem with it? - mfleming - 09-25-2017, 06:36 PM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-25-2017, 08:27 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-26-2017, 06:03 AM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-26-2017, 02:50 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-26-2017, 02:55 PM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-26-2017, 06:37 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-26-2017, 06:57 PM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-26-2017, 08:22 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-25-2017, 07:10 PM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-25-2017, 07:41 PM RE: How do I learn RPL and solve this problem with it? - David Hayden - 09-25-2017, 07:55 PM RE: How do I learn RPL and solve this problem with it? - emece67 - 09-25-2017, 08:04 PM RE: How do I learn RPL and solve this problem with it? - Gerson W. Barbosa - 09-26-2017, 04:37 PM RE: How do I learn RPL and solve this problem with it? - Dieter - 09-26-2017 07:01 PM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-26-2017, 08:25 PM RE: How do I learn RPL and solve this problem with it? - Dieter - 09-26-2017, 08:36 PM RE: How do I learn RPL and solve this problem with it? - David Hayden - 09-25-2017, 08:17 PM RE: How do I learn RPL and solve this problem with it? - brickviking - 09-26-2017, 01:02 AM RE: How do I learn RPL and solve this problem with it? - John Keith - 09-26-2017, 12:06 PM RE: How do I learn RPL and solve this problem with it? - Claudio L. - 09-26-2017, 02:29 PM RE: How do I learn RPL and solve this problem with it? - David Hayden - 09-26-2017, 01:02 PM RE: How do I learn RPL and solve this problem with it? - Dieter - 09-26-2017, 06:20 PM RE: How do I learn RPL and solve this problem with it? - Didier Lachieze - 09-26-2017, 06:46 PM RE: How do I learn RPL and solve this problem with it? - pier4r - 09-26-2017, 10:20 PM

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