Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to: in order to access the notebook...

8
Mandelbrot Sets Created by Jordan Nakamura

description

SAGE API

Transcript of Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to: in order to access the notebook...

Page 1: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

Mandelbrot Sets

Created by Jordan Nakamura

Page 2: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

How to use Sage

• Go to: www.sabenb.org in order to access the notebook

• Go to: http://sagemath.org in order to download SAGE.

• (Note: You don’t need to download SAGE to use it! You can just access the notebook online to use it!)

Page 3: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

SAGE API

• http://www.sagemath.org/doc/reference/

Page 4: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

Definition

• All the complex numbers such that:–

– Is bounded.• i.e. If then we will assume it is bounded!

– By definition • More information on

http://en.wikipedia.org/wiki/Mandelbrot_set

21n nZ Z c

20 2.0Z

0 0Z

Page 5: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

Example

• Complex number c = 2 + 2i0 0Z

2 220

20

( ) 40 40 1600 1600 3200 56.56, (40 40 )

abs ZFor sakeof simplicity assumeZ i

56.56 2.0 So it is not bounded.

21 0 (2 2 )Z Z i 2 2

2 1 (2 2 ) (2 2 ) (2 2 ) (2 10 )Z Z i i i i

23 (2 10 ) (2 2 ) ( 94 42 )Z i i i

263801 26380120 (5.8 10 8.9 10 )Z x x i

20, (40 40 )For sakeof simplicity assumeZ i

Page 6: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

Example 2

0 0Z

0 0C i

2 220( ) 0 0 0abs Z

0 2 So it is bounded. Therefore, the point (0 + 0i) is in the Mandelbrot Set.

220 0 0Z i

Page 7: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

Complex Plane

• It looks just like the Cartesian coordinate plane, except the “x-axis” is the real numbers and the “y-axis” is the imaginary parts.

• Real numbers are complex numbers without the “imaginary” part.

• Complex number = 2 + 3i

• real imaginary

Page 8: Mandelbrot Sets Created by Jordan Nakamura. How to use Sage Go to:  in order to access the notebook Go to:

This is the point (35 + 40i)

This is the point (-20 + 15i)