Here are a few problems I saw: In this line (and several others) : 100*sin(w) you use "w" before you give "w" a value. In fact, "w" seems to never appear on the left side of an equals sign. x = c y = d needs to be on two lines. You normally need to have a "bailout test" at the end to stop your iterations -- unless you *really* know what you're doing and *really* need to omit it for your specific calculation. An example of a bailout test would be: See the docs re this. |y| < 2 You also have for variable names both an upper case "C" and a lower case "c". I think the Fractint parser may convert them to the same case, but it's not very good programming practice to do this.. - Hal Lane ######################## # hallane@earthlink.net ######################## -----Original Message----- From: Fractint [mailto:fractint-bounces@mailman.xmission.com] On Behalf Of John Wilson Sent: Friday, January 8, 2016 8:16 PM To: Fractint and General Fractals Discussion <fractint@mailman.xmission.com> Subject: Re: [Fractint] Tedious formula c ??? On 8 January 2016 at 17:00, <sciwise@ihug.co.nz> wrote:
I'm attempting to construct a formula .
However there's something amiss ; hence I'm seeking some
help on this from the group.
This is the formula :
comment{
Series Circuit .
(c) copyright 2016 sciwise@ihug.co.nz
Edward.Q.Montague
} DiodeRLC { f = 1/real(p1) z = pixel x = real(z) y = imag(z) p = 0.039757 h = 0.071743 s = -1 R = 1 L =0.001 C = 10^6 C = 1/C K = 10^23 K = (1.3806485279)/K twopi = 6.283185307179586 T = 270 q = 10^19 q = (1.602176620898)/q Id = 10^12 Id = 1/Id a1 = q/(K*T) b1 = (K*T)/(q*C*L) b2 = (K*T)/(Id*q*L) b3 = R/L t1 = 0: v = twopi*t1 v = 100*sin(w) q = s*a1*x q = exp( q ) u = y w = s*a1*y*y + s*b2*q*y + s*b3*y + b2*q*w + b1*q + s*b1 a = x+p*u b = y+p*w q = s*a1*a q = exp( q ) c = x+h*(u+b) d = y + h*(w + s*a1*b*b + s*b2*q*b + s*b3*b + b2*q*v + b1*q + s*b1) x = c y = d t1 = t1 + f z = x+flip(y) |y| _______________________________________________ Fractint mailing list Fractint@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint
_______________________________________________ Fractint mailing list Fractint@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/fractint --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus