Re: [Tutor] Trajectory Syntax Error

2011-03-30 Thread Alan Gauld
"Carla Jenkins" wrote When I try using trajectory I receive an error. What is trajectory? Its not a standard Python function so we can't be too helpful in fixing errors unless we know more about it. Here is the code: def logistic(x): return 4*x*(1-x) This is OK so far... ds_l

Re: [Tutor] Trajectory Syntax Error

2011-03-30 Thread Emile van Sebille
On 3/30/2011 7:26 AM Carla Jenkins said... I am new to Python learnig for a class. When I try using trajectory I receive an error. Here is the code: def logistic(x): return 4*x*(1-x) ds_logistic11=trajectory(logistic,0.11) SyntaxError: invalid syntax Hi Carla, Be sure to copy and

[Tutor] Trajectory Syntax Error

2011-03-30 Thread Carla Jenkins
I am new to Python learnig for a class. When I try using trajectory I receive an error. Here is the code: def logistic(x): return 4*x*(1-x) ds_logistic11=trajectory(logistic,0.11) SyntaxError: invalid syntax Sincerely, Carla Jenkins ___ Tutor