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

< Previous CommentHelp | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
09/14/12 03:05am

Please post the smallest simplest complete notebook with all the values of the variables you are using and demonstrating exactly that error when everything is evaluated in order the first time so someone can reproduce exactly the same calculation you have done.

If we do not know the values of s you are using or what other code you might have then it is very difficult to diagnose the problem.


In[1]:= s=3;

From In[1]:= {{5,6,7,8,9,10},{6,7,8,9,10,11}, {7,8,9,10,11,12},{8,9,10,11,12,13},

doesn't generate any errors and even following immediately with this

In[5]:= evals[s]

Out[5]= {30+Sqrt[1005],30-Sqrt[1005],0,0,0,0}

doesn't generate any errors, but you didn't show any actual use of your evals function, so there must be something else going on in your code.

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
< Previous CommentHelp | Reply To Comment | Reply To Topic