[sage-support] Re: Load Maxima

2009-08-19 Thread Mikie
Thanks, for the help. Here are the functions I created and they work. I needed one that solved equations for a floating pt. solution and a definite integral and work in a Python script. -- def MaxIntegrate(x,y,beg,end_): y1=maxima(x);x1=maxima(y) a5=maxi

[sage-support] Re: Load Maxima

2009-08-18 Thread Simon King
Hi William, hi Mikie, On 19 Aug., 01:27, William Stein wrote: > On Tue, Aug 18, 2009 at 2:30 PM, Mikie wrote: > > > Yes, that works. > > However, I am trying to create a function that has Maxima functions in > > it and I can't seem to pass values to it.  I am using a Python > > function. > > > S

[sage-support] Re: Load Maxima

2009-08-18 Thread William Stein
On Tue, Aug 18, 2009 at 2:30 PM, Mikie wrote: > > Yes, that works. > However, I am trying to create a function that has Maxima functions in > it and I can't seem to pass values to it.  I am using a Python > function. > > Something like this > --- > def Subs(x,y): >    y1=maxima

[sage-support] Re: Load Maxima

2009-08-18 Thread Mikie
Yes, that works. However, I am trying to create a function that has Maxima functions in it and I can't seem to pass values to it. I am using a Python function. Something like this --- def Subs(x,y): y1=maxima("float(x);");y1 maxima("p1:y1;");print maxima("p1;") a1

[sage-support] Re: Load Maxima

2009-08-18 Thread Minh Nguyen
Hi Mikie, On Tue, Aug 18, 2009 at 7:16 AM, Mikie wrote: > > How do I load Maxima? I using a Python script. If you want to access the Sage library from your Python script, you need to run that script using the version of Python that comes with Sage. The command "sage -python /path/to/my/python/s