Logo by mauxuam - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Support us via Flattr FLATTR Link
 
*
Welcome, Guest. Please login or register. November 29, 2025, 10:59:42 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: z' = z^5 +c  (Read 1186 times)
0 Members and 1 Guest are viewing this topic.
flok
Guest
« on: November 16, 2009, 12:44:38 PM »

Hi,

Here's my implementation of z' = z^5 + c:
   http://www.vanheusden.com/fractals/mand_z5+c_4.0.png


The source-code van be found here: http://www.vanheusden.com/fractals/

(hopefully I did not make any mistakes while expanding that formula to real/img part)
« Last Edit: January 09, 2010, 01:56:14 AM by Nahee_Enterprises » Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: November 16, 2009, 01:00:52 PM »

hello, and welcome to the forums ... ehrm, what formula you are rendering there ?!?!?
certainly not a 5th order mandelbrot :  cry
Logged

---

divide and conquer - iterate and rule - chaos is No random!
David Makin
Global Moderator
Fractal Senior
******
Posts: 2286



Makin' Magic Fractals
WWW
« Reply #2 on: November 16, 2009, 02:36:14 PM »

Hi,

Here's my implementation of z' = z^5 + c:

<Quoted Image Removed>

The source-code van be found here: http://www.vanheusden.com/fractals/

(hopefully I did not make any mistakes while expanding that formula to real/img part)

When you say z^5+c, which number format do you mean ?
If ordinary complex then Trifox is correct - it's definitely not correct.

To expand a complex power to reals 1st start with Pascal's triangle to the row required for your power, e.g. for z^5 start with:
Code:
               1
             1   1
           1   2   1
        1   3   3   1
     1   4   6    4   1
   1   5  10  10   5   1

So for z^5 that's   "1, 5, 10, 10, 5, 1"
Now add your x/y terms starting with the highest power of x and y^0 (i.e. 1) on the left decrementing the x power and incrementing the y power across the row - remembering that for each y we also have the equivalent power of i:

    x^5, 5*x^4*y*i, 10*x^3*y^2*i^2, 10*x^2*y^3*i^3, 5*x*y^4*i^4, y^5*i^5

Now consider the result of raising i to the power (i.e. giving i, -1, -i, or +1):

   x^5, 5*x^4*y*i,  -10*x^3*y^2, -10*x^2*y^3*i, 5*x*y^4, y^5*i

giving z^5 = x^5 - 10*x^3*y^2 + 5*x*y^4 + i*(5*x^4*y - 10*x^2*y^3 + y^5)

i.e. the Mandy iteration done longhand in Ultra Fractal terms:

 x = real(z)
 y = imag(z)
 z = x^5 - 10*x^3*y^2 + 5*x*y^4 + flip(5*x^4*y - 10*x^2*y^3 + y^5) + #pixel

Edit: Just to add that for higher powers there are formulas for getting the coefficients for a given row of Pascal's triangle - see Wikipedia.
« Last Edit: November 16, 2009, 03:06:44 PM by David Makin » Logged

The meaning and purpose of life is to give life purpose and meaning.

http://www.fractalgallery.co.uk/
"Makin' Magic Music" on Jango
flok
Guest
« Reply #3 on: November 16, 2009, 05:29:48 PM »

hello, and welcome to the forums ... ehrm, what formula you are rendering there ?!?!?
certainly not a 5th order mandelbrot :  cry

Hmmm. Has been a while ago that I wrote that program, might have made a bug. I tried implementing z' = pow(z, 5.0) + c.
Did that the naive way by expanding into (x + iy)(x+iy)(...)... etc.
The
Code:
dummy1 = w * ln(y);
dummy2 = exp(w * ln(x))
re(z) = dummy2 * cos(dummy1);
im(z) = dummy2 * sin(dummy1);
method doesn't seem to work (all black).
Logged
Pages: [1]   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.424 seconds with 25 queries. (Pretty URLs adds 0.007s, 2q)