Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Problem with simple function' topicStudent Support Forum > General > "Problem with simple function"

Next Comment >Help | Reply To Topic
Author Comment/Response
09/12/12 08:30am

Sorry, I'm new to mathematica so the answer is probably obvious but I can't seem to find it: What's the matter with the following code

grammat[s_] := Table[k + m + s, {k, 1, 2*s}, {m, 1, 2*s}];

evals[s_] := Eigenvalues[grammat[s]];
I get the following error:

SetDelayed::write: "Tag List in {30+Sqrt[1005],30-Sqrt[1005],0,0,0,0}[s] is Protected."

URL: ,

Subject (listing for 'Problem with simple function')
Author Date Posted
Problem with simple function jorgen 09/12/12 08:30am
Re: Problem with simple function Bill Simpson 09/14/12 03:05am
Next Comment >Help | Reply To Topic