Post Reply 
How do I learn RPL and solve this problem with it?
09-26-2017, 08:25 PM
Post: #38
RE: How do I learn RPL and solve this problem with it?
(09-26-2017 07:01 PM)Dieter Wrote:  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
b = Round(b, 1)
R = 10 ^ (i \ 12) * w

End Function

b=Round(b,1) doesn't seem right, as b is undefined?
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? - Claudio L. - 09-26-2017 08:25 PM



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