RE: Complex Number problem
- To: mathgroup@smc.vnet.net
- Subject: [mg11098] RE: [mg11079] Complex Number problem
- From: jmt <jmthomas@cybercable.tm.fr>
- Date: Sun, 22 Feb 1998 14:55:24 -0500
- Organization: TeA
- Return-Receipt-To: jmt <jmthomas@cybercable.tm.fr>
Mind the fact your function Julia has no return value, or do you wish to
use "amounts" as returned value? Also mind the fact a general rule
affects capital letters to built-in functions.
You can use:
julia[x_, n_] := NestList[#^2&, x, n]
----------------------------------------------- Jean-Marie THOMAS
Conseil et Audit en Ingenierie de Calcul www.cybercable.tm.fr/~jmthomas
------------------------------------------------
-----Message d'origine-----
De: Veit Sanner [SMTP:sanner@biosys.net] Date: jeudi 19 fevrier 1998
02:33
A: mathgroup@smc.vnet.net
Objet: [mg11079] Complex Number problem
Hi.
I tried the following function to generate the Julia for a certain
point.
Julia[x_,n_]:={amounts={x}
For[i=1,i<=n,i++,x=x^2;AppendTo[amounts,x];];}
But Mathematica always answers with tha same message:
Set :: write : Tag Complex in x+y I is Protected.
How can I set this tag to unprotected?
ciao
Veit