Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!van-bc!ubc-cs!undergrad.cs.ubc.ca!gchow From: gchow@undergrad.cs.ubc.ca (george kai yee chow) Newsgroups: comp.sys.handhelds Subject: Casio fx-8000G Mandelbrot problem Summary: mandelbrot program with problem Keywords: Casio, fx-8000G, Mandelbrot Message-ID: <1990Apr14.222633.3409@undergrad.cs.ubc.ca> Date: 14 Apr 90 22:26:33 GMT Sender: root@undergrad.cs.ubc.ca Reply-To: gchow@b3 (zv2fh0z0c4eJQ) Organization: none Lines: 30 Since this is a handheld area, I thought I might try my problem here. I've got a Casio fx-8000G and wrote a Mandelbrot plotter. (How's the one for the HP-28s.) But there's a problem with it: it only plots one point in the set. I'm posting the source here. If anyone can find the problem with it, can they please e-mail me? (I would love to hear from anyone with a Casio too.) Note on notation: -> is the assignment operator ^2 is the square operator => is the conditional separator (shift-7) >= is the greater than or equal to symbol -2->X:-1.25->Y 2.5->R:10->N Range 95,1,96,1,63,64 R/63->G:Y+R->Y 63->J:Lbl 1 Y-JG->D 63->I:Lbl 2 X+IG->C:C->A:D->B N->K:Lbl 3 2AB->E A^2-B^2+C->A E+D->B (A^2+B^2)>=4=>Goto 4 Dsz K:Goto 3 Plot I,J:Plot I,J:Line Lbl 4 Dsz I:Goto 2 Dsz J:Goto 1