Create a class Mandelbrot that computes the Mandelbrot set on a given complex plane window.
The Mandelbrot set is defined by iterating:
starting from , and counting how many iterations are required for .
Requirements:
  • Class properties: xlim, ylim, resolution, maxIter
  • Method generate() returns a 2D matrix Z of iteration counts.

Solution Stats

5 Solutions

4 Solvers

Last Solution submitted on Jun 06, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...