[sage-support] How to test?

2009-04-04 Thread Mikie
I have have uploaded and installed Sage(the CentOS version) on my Linux server. I have configured the sage script to point at the sage directory. Should it now start from a browser? If so how? The docs talk about "./sage" to start. Is this in Linux. I am a novice. I have the Windows version

[sage-support] Install on CentOS

2009-04-04 Thread Mikie
I have put all the files on the Linux server(CentOSv4.7). Modified the sage script to point to the sage dir. Now what? What does "./ sage" mean. I am a novice. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscri

[sage-support] Re: How to test?

2009-04-04 Thread Mikie
How do I test if from a browser? On Apr 4, 11:07 am, Jaap Spies wrote: > Mikie wrote: > > I have have uploaded and installed Sage(the CentOS version) on my > > Linux server.  I have configured the sage script to point at the sage > > directory.  Should it now start from

[sage-support] Re: How to test?

2009-04-04 Thread Mikie
FireFox. I host is BlueHost. Can't I enter a url to start Sage? On Apr 4, 12:21 pm, Jaap Spies wrote: > Mikie wrote: > > How do I test if from a browser? > > Which browser? From where? > > We definitely need more info. > > Jaap > > > > > On Apr 4

[sage-support] Re: How to test?

2009-04-04 Thread Mikie
I am in linux on BlueHost. ./sage and I get error shar libraies: requires glibc 2.5 or later. On Apr 4, 1:29 pm, Jaap Spies wrote: > Mikie wrote: > > FireFox.  I host is BlueHost.  Can't I enter a url to start Sage? > > Type notebook? at the sage prompt to get more doc

[sage-support] Server for Sage

2009-04-04 Thread Mikie
Is anyone running Sage a non-dedicated server such as BlueHost, Godaddy, etc? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more

[sage-support] Re: Server for Sage

2009-04-04 Thread Mikie
I am not using the notebooks. I want it to check answers to math problems in Moodle. On Apr 4, 2:35 pm, Jaap Spies wrote: > Mikie wrote: > > Is anyone running Sage a non-dedicated server such as BlueHost, > > Godaddy, etc? > > As far as I know: no! > > This is pr

[sage-support] Re: How to test?

2009-04-06 Thread Mikie
Hi Jaap, Are you using Sage on a server like BlueHost? Mikie On Apr 4, 4:06 pm, Jaap Spies wrote: > Timothy Clemans wrote: > > On Sat, Apr 4, 2009 at 4:27 PM, Jaap Spies wrote: > >> Mikie wrote: > >>> I am in linux on BlueHost.  ./sage and I get error shar libr

[sage-support] Linux CentOS sage install problem

2009-04-07 Thread Mikie
I get the following error after ./sage "sage:bin: error while loading shared lib:requires glibc 2.5 or later dynamic linker" Any help would be appreciated. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe fro

[sage-support] Re: How to test?

2009-04-07 Thread Mikie
BlueHost is a non-dedicated server, something like Godaddy only better. So are you running Sage on a Non-dedicated server? Dedicated servers typically cost about $90/month. On Apr 6, 9:46 am, Jaap Spies wrote: > Mikie wrote: > > Hi Jaap, > > > Are you using Sage on a se

[sage-support] Just integral

2009-04-16 Thread Mikie
Is there anyway in Sage to have the calculation not performed? In integrate just see the integral. With Mupad it is (hold). Thanks --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email t

[sage-support] sage error 6520

2009-04-24 Thread Mikie
Just installed Sage on CentOS 5.3 server. Local system. I am getting "sage-sage: line 197 6520 Illegal instruction sage-ipyth "$@" -i". Any help would be appreciated. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsub

[sage-support] Re: sage error 6520

2009-04-24 Thread Mikie
Version 3.4 for CentOS rel 5_2. Before I get the error below it says "Warning; Sage was built on a machine that does not support instructions for this computer. Processor flags not on this computer: pni On Apr 24, 3:04 pm, mabshoff wrote: > On Apr 24, 10:49 am, Mikie wrote

[sage-support] Re: sage error 6520

2009-04-24 Thread Mikie
Sage is trying to modify the file sage-flags.txt. On Apr 24, 3:29 pm, Mikie wrote: > Version 3.4 for CentOS rel 5_2.   Before I get the error below it says > "Warning; Sage was built on a machine that does not support > instructions for this computer.  Processor flags not on t

[sage-support] Re: sage error 6520

2009-04-27 Thread Mikie
Hi, I just put Sage3.4.1 on and I am getting "line 198: 3626 Illegral instruction sage-ip0ython "#@" -i.". Do you think I should get the source and recompile it? Mikie On Apr 25, 1:01 am, mabshoff wrote: > On Apr 24, 2:55 pm, mabshoff > dortmund.de> wrote: &

[sage-support] Re: sage error 6520

2009-04-28 Thread Mikie
Yes, I recompiled it and it works. It took 7 hours on the P4. On Apr 27, 9:53 am, Mikie wrote: > Hi, > > I just put Sage3.4.1 on and I am getting "line 198: 3626 Illegral > instruction sage-ip0ython "#@" -i.".  Do you think I should get the > source and rec

[sage-support] pretty print in notebook

2009-04-28 Thread Mikie
I have sage working on a PC in my network. And it comes great. When set "pretty print" and do an integral it gives an error shows Latex. How do I get the pretty print. I am using CentOS and Firefox. --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-support] sage-python

2009-05-01 Thread Mikie
Is it possible to do something like this at the command prompt #!/usr/bin/env sage import sys from sage.all import* factorial(10) and have sage calculate 10! When I do it from the cp nothing happens. When I save the file I get sage.all not found. python ?.py Does sage-python run sage's pytho

[sage-support] sage in html

2009-05-12 Thread Mikie
Does anyone have a simple API that takes input from a form and uses Sage to calculate the solution and displays it on the hrml page. I don't want to use the notebook. I have CentOS running in a local network with Sage and Moodle. I thought I seen something like this on Wiki. Thanks --~--~---

[sage-support] Re: sage in html

2009-05-13 Thread Mikie
, 6:16 pm, Jason Grout wrote: > Mikie wrote: > >  > I have the "twist.py" file.  What do I do with it?  It is an html >  > file? >  > > > It is a python file, which is the code and documentation for the simple > API.  In it, you'll find some examples

[sage-support] Re: sage in html

2009-05-13 Thread Mikie
OK, I have it working in Sage. How do I start it in an html page? On May 13, 8:59 am, Mikie wrote: > Thanks for your patience.  I am using xwindows on the CentOS server. > When I load the twist.py file using gedit, it looks like an html > file.  When I get into Sage I have to type

[sage-support] Re: twist.py

2009-05-15 Thread Mikie
I have this line in my php file - $login_page = file_get_contents("http://localhost:$notebook_server/ simple/Login?username=admin&password=$password"); When I load it, the variables $login_page, $password have nothing in them. I have started the twis

[sage-support] twisted server help

2009-05-19 Thread Mikie
I am using Robert's twist.py to try to setup a simple server. The server side is working. I need help getting the client side to work. I would like to have the client use a screen(form) that would allow him to input an expression and lets say the server will calculate the integral and return t

[sage-support] factor

2009-06-15 Thread Mikie
Is there anyway to get the factor function to factor an expression without using QQ['x'].0? I want just integer factors. I have created a Twisted server using Sage to do calculations from a form. When I put QQ['x'].0 into the sage script I get a systax on the period. It does work from the comman

[sage-support] Re: factor

2009-06-16 Thread Mikie
Mon, Jun 15, 2009 at 10:54 PM, Mikie wrote: > > > Is there anyway to get the factor function to factor an expression > > without using QQ['x'].0?  I want just integer factors. > > I don't understand what you mean by "integer factors"?  Can you give an

[sage-support] Re: factor

2009-06-16 Thread Mikie
ge: f.factor() > x * (2*x - 1) > > > > On Tue, Jun 16, 2009 at 11:12 AM, Mikie wrote: > > > When I use Sage to factor lets say 2*x**2-x it factors the  2 out and > > leaves a fraction in the expression.  I would like to have it not > > factor the polynomial unless

[sage-support] string conversion

2009-06-17 Thread Mikie
I taking a string from a form. How do I convert it to polynomial type? --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options

[sage-support] Re: string conversion

2009-06-17 Thread Mikie
I cannot use R. the period. The python code is in a script. I am taking the string from a form and want to convert to a polynomial then factor the expression. This is from my Twisted API. On Jun 17, 9:23 am, Minh Nguyen wrote: > Hi Mikie, > > On Thu, Jun 18, 2009 at 1:17 AM, Will

[sage-support] Re: string conversion

2009-06-17 Thread Mikie
That did it. Thanks On Jun 17, 1:12 pm, Mike Hansen wrote: > Hello, > > On Wed, Jun 17, 2009 at 9:13 AM, Mikie wrote: > > > I cannot use R.  the period.  The python code is in a script.  I am > > taking the string from a form and want to convert to a polynomial then &

[sage-support] API up

2009-06-18 Thread Mikie
I have my API running on a host. Not real pretty yet, but it seems to work. Please, test. http://pirsqrt.com:7316 Thanx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-supp

[sage-support] Re: API up

2009-06-18 Thread Mikie
How fast was it and did it work with IE8? On Jun 18, 11:37 am, David Joyner wrote: > Cool! > > > > On Thu, Jun 18, 2009 at 12:46 PM, Mikie wrote: > > > I have my API running on a host.  Not real pretty yet, but it seems to > > work. > > Please, test. > &

[sage-support] Re: API up

2009-06-18 Thread Mikie
Hampton > > On Jun 18, 1:38 pm, Mikie wrote: > > > > > How fast was it and did it work with IE8? > > > On Jun 18, 11:37 am, David Joyner wrote: > > > > Cool! > > > > On Thu, Jun 18, 2009 at 12:46 PM, Mikie wrote: > > > > >

[sage-support] Re: API up

2009-06-23 Thread Mikie
on't have IE8 so I > can't comment on that. > > > > On Thu, Jun 18, 2009 at 4:13 PM, David Joyner wrote: > > > On Thu, Jun 18, 2009 at 2:38 PM, Mikie wrote: > > >> How fast was it and did it work with IE8? > > > It was fast for me but sorr

[sage-support] not a valid Python identifier

2009-06-23 Thread Mikie
I am using a Python script that starts a twisted server. And have several Sage functions defined. Thus the Sage preparser is not available. Here is the the function for integrating def Integrate3a(exp1,exp2): s1=type(exp1);print s1 R1 = integrate(exp1,exp2)

[sage-support] Re: not a valid Python identifier

2009-06-23 Thread Mikie
Mike, worked great. If you are ever near Colorado Springs you have a free lunch. On Jun 23, 3:07 pm, Mike Hansen wrote: > Hi, > > On Tue, Jun 23, 2009 at 1:33 PM, Mikie wrote: > > The values are coming in as strings and I am converting them to > > calculus type.  It is

[sage-support] Floating pt. solve

2009-06-25 Thread Mikie
Is there anyway to create function that solves equations for value in a range and gives a floating pt. answer? It would seem like "solve" would do it, but I don't see how. Thanx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com

[sage-support] Re: Floating pt. solve

2009-06-25 Thread Mikie
Forget the question. I found find_root. On Jun 25, 9:02 am, Mikie wrote: > Is there anyway to create function that solves equations for value in > a range and gives a floating pt. answer? > It would seem like "solve" would do it, but I don

[sage-support] stat functions

2009-06-29 Thread Mikie
I have looked a lot. Any docs on the stat(mean, stdev, median, etc) functions? Does Sage have any stat functions? Thanx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-sup

[sage-support] Re: stat functions

2009-06-29 Thread Mikie
Before I get too excited can use Scipy in a python script(My twisted API) Thanks William On Jun 29, 3:54 pm, William Stein wrote: > On Mon, Jun 29, 2009 at 11:44 PM, Mikie wrote: > > > I have looked a lot.  Any docs on the stat(mean, stdev, median, etc) > > functions?  Does

[sage-support] Re: stat functions

2009-06-30 Thread Mikie
How does one convert a string to a list? Try my new API pirsqrt.com:1843. Try to break it. If you put something bad into it use the back arrow on the browser. On Jun 29, 4:14 pm, William Stein wrote: > On Tue, Jun 30, 2009 at 12:13 AM, Mikie wrote: > > > Before I get too excited c

[sage-support] Re: stat functions

2009-06-30 Thread Mikie
OK, I have the string to list created. I have created the function to calculate a mean of a list. This is in the python script. Using spipy I am getting " 'module' obj. is not callable' On Jun 30, 10:04 am, Robert Bradshaw wrote: > On Jun 30, 2009, at 8:23 AM, Mikie wr

[sage-support] Re: stat functions

2009-07-01 Thread Mikie
e does not have any. Thanx On Jun 30, 10:13 pm, Robert Bradshaw wrote: > On Jun 30, 2009, at 9:26 AM, Mikie wrote: > > > OK, I have the string to list created.  I have created the function to > > calculate a mean of a list.  This is in the python script.  Using > > spipy I

[sage-support] Re: stat functions

2009-07-01 Thread Mikie
Yes, I am calling one of the functions in scipy, but it will not me to do it. If I use the scipy mean function it works, but not from a created function. On Jul 1, 8:21 am, Kevin Horton wrote: > On 1 Jul 2009, at 09:56, Mikie wrote: > > > > > I have create a function using

[sage-support] Re: stat functions

2009-07-01 Thread Mikie
I don't what else I can say. Look at the articles about. On Jul 1, 8:38 am, Kevin Horton wrote: > On 1 Jul 2009, at 10:26, Mikie wrote: > > > Yes, I am calling one of the functions in scipy, but it will not me to > > do it.  If I use the scipy mean function it works, but

[sage-support] Re: stat functions

2009-07-01 Thread Mikie
e you'd want to do some string processing first, like if you > have a comm-delimited input string, as Robert was saying. > > -M. Hampton > > On Jul 1, 8:26 am, Mikie wrote: > > > > > Yes, I am calling one of the functions in scipy, but it will not me to > >

[sage-support] jsmath

2009-07-02 Thread Mikie
Is it possible to go have pretty print using from sage.misc.latex import jsmath,?? I am looking at http://www.sagemath.org/doc/reference/sage/misc/latex.html I am using a python script with a html page inside. Thanx --~--~-~--~~~---~--~~ To post to this group,

[sage-support] Re: jsmath

2009-07-03 Thread Mikie
". On Jul 2, 8:13 pm, John H Palmieri wrote: > On Jul 2, 9:14 am, Mikie wrote: > > > Is it possible to go have pretty print  using > > from sage.misc.latex import jsmath,?? > > In Sage's notebook, 'pretty_print' (which is what gets used when you > cli

[sage-support] scipy binomial pmf

2009-07-03 Thread Mikie
What is the syntax to get the binomial function in Scipy to calculate? I have tried stats.binom.pmf(1,10,.56,0) etc. Thanks for the help. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send e

[sage-support] Re: scipy binomial pmf

2009-07-03 Thread Mikie
I am trying to use the binomial pmf function in Scipy. Forget the question I will write my own. Thanx On Jul 3, 9:32 am, William Stein wrote: > On Fri, Jul 3, 2009 at 5:27 PM, Mikie wrote: > > > What is the syntax to get the binomial function in Scipy to calculate? >

[sage-support] Re: scipy binomial pmf

2009-07-06 Thread Mikie
10r,.56r,0r) > > 0.0034614823012532187 > > > As an alternative, if you plan on doing everything in Scipy/Numpy and > > don't mind a fat-fisted approach, you may want to use IPython in Pylab > > mode: start Sage with "sage -ipython -pylab" and you don't have to

[sage-support] Re: scipy binomial pmf

2009-07-06 Thread Mikie
Kevin, It worked. Thanks, a lot. On Jul 6, 3:33 pm, Kevin Horton wrote: > Maybe you can use: > > sage: RealNumber=float; Integer=int > > or, explicitly define the number type when calling the scipy function. > > Good luck, > > Kevin Horton > > On

[sage-support] Re: scipy binomial pmf

2009-07-06 Thread Mikie
were detailed on the FAQ: cast the types to float() explicitly, > turn off the pre-processor temporarily, redefine RealNumber() and > Integer() to float() and int(), etc. etc. > > If none of these answer your question, please describe what you're > trying to do and what errors y

[sage-support] Collaborate

2009-07-07 Thread Mikie
I am looking for someone to help with my API. It is working rather nicely, but I do not have "pretty_print" working. I have installed JSmath in a plain html page and it works. I have put it in my server, but when it trys to call a javasript other than load.js there is a problem. Does anyone ha

[sage-support] Re: scipy binomial pmf

2009-07-09 Thread Mikie
Robert, how do I update my sage installation when you create a patch. Do I have to reinstall Sage? Thanx On Jul 9, 5:37 am, Ahmed Fasih wrote: > Jason, Robert, I'm trying to understand the patch, but it looks like > this is a fix for *all* Numpy/Scipy-Sage type issues? If so---oh happy > day!

[sage-support] Re: scipy binomial pmf

2009-07-10 Thread Mikie
2009, at 15:02, William Stein wrote: > > >> On Thu, Jul 9, 2009 at 11:31 AM, Mikie > >> wrote: > > >>> Robert,  how do I update my sage installation when you create a > >>> patch.  Do I have to reinstall Sage? > >>> Thanx > &g

[sage-support] Re: scipy binomial pmf

2009-07-10 Thread Mikie
If it works don't fix. I like 3.2.2 because of the output in a textarea is nicer than 4.0. I will leave it along. On Jul 10, 10:19 am, Robert Bradshaw wrote: > On Jul 10, 2009, at 9:13 AM, Mikie wrote: > > > I am using 3.2.2 sage.  Will this fix work? > > No idea, but i

[sage-support] adding cells

2009-07-14 Thread Mikie
I have several worksheets in my file list. Just created new notebook and I can only add about 7 cells. Why is this? Is there some kind of limit? Thanks --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from th

[sage-support] sort a list

2009-07-15 Thread Mikie
How does one sort a list in Sage? I have tried L1=[56,2,4,10] Sort_ = L1.sort() and nothing is produced. I need it to calculate Quartiles. Is there a Quatile function in any of the modules? Thanks --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-support] Re: sort a list

2009-07-15 Thread Mikie
Carlos, just what I needed. I have looked in scipy, but no Quartiles. On Jul 15, 1:26 pm, Carlos Córdoba wrote: > This is not about RTFM, because L1.sort() doesn't produce any result. It > just modifies the original list in place. > > I think that Mikie wants to assign t

[sage-support] correlation coefficient

2009-07-20 Thread Mikie
Still working on my Stats server. Is there a function in Scipy that will calculate the correlation coef.? I have found something that looks good, but I do not understand the parameters. scipy.stats.corrcoef(x,y,rowvar, bias) x,y represents the independent, dependent variables, rows, I don't u

[sage-support] Re: correlation coefficient

2009-07-21 Thread Mikie
Yes, thanks Giovanni. Numpy worked. On Jul 21, 1:51 am, "giovanni.marche...@ds.unifi.it" wrote: > I read in the listing of the function > >     warnings.warn("""\ > scipy.stats.corrcoef is deprecated; please update your code to use > numpy.corrcoef. > Please note that: >     - numpy.corrcoef ro

[sage-support] floating point solve

2009-08-04 Thread Mikie
I need some help with a solve function that gives fp solutions to all types of equations. Possibly allowing an interval. I have tried def FPSolver2a(val1,val2,val3): var('val1,val2,val3') a2=SR(val1) q1=find_root(xy,p,q) return q1 I need to put it into a python script, so no pr

[sage-support] textarea output

2009-08-07 Thread Mikie
I have created a API for student math interaction using Sage. My version of Sage on the server is 3.4. The output is in a textarea and it looks good. Not as good as pretty print(jsmath). When I use my server on 4.0 the output looks bad. All on one line. What has happened to 4.0? Is there an

[sage-support] Load Maxima

2009-08-17 Thread Mikie
How do I load Maxima? I using a Python script. Thanx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group

[sage-support] Re: Load Maxima

2009-08-18 Thread Mikie
;");print maxima("p1;") a1=maxima("s3:x*y;"); return a1 - Is it possible to pass the variables into Maxima function? On Aug 18, 5:30 am, Minh Nguyen wrote: > Hi Mikie, > > On Tue, Aug 18, 2009 at 7:16 AM, Mikie wrote: > > > How

[sage-support] Re: Load Maxima

2009-08-19 Thread Mikie
=maxima.integrate(x,y,beg,end_);a6=maxima.float(a5); return a6 --- def MSolve(r1,val1): a1=maxima.solve(r1,val1);a3=maxima.float(a1) return a3 --- On Aug 18, 5:47 pm, Simon King wrote: > Hi William, hi Mi

[sage-support] output in 3.4 and 4.0

2009-08-26 Thread Mikie
When I print the results of a calculation from my twisted server in Sage 3.4 and 4.0, 4.0 messes up the output. Try http://thwaite.phys.ualberta.ca:/ (This 4.0, try the Laplace function) http://pirsqrt.com:1843/(This is 3.4) Use the codes at the top of the html page to select the function.

[sage-support] Malformed expression

2009-08-31 Thread Mikie
Using this function in a Python script def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(eqns) return solns I am getting "Malformed expression". When I use it the notebook no problem Thanx --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Malformed expression

2009-08-31 Thread Mikie
I figured it out. I wasn't converting the value from maxima.solve() back to string. Thanks for looking at the code. On Aug 31, 2:54 pm, Jason Grout wrote: > Mikie wrote: > > Using this function in a Python script > > > def MSolveSys(syss): > >    eqns=eval(syss) &

[sage-support] Maxima Solve sys

2009-09-01 Thread Mikie
Here is function I am using to solve systems of linear equations. def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(syss) return solns Works great in the notebook, but when I put it in a Python script it rounds the coeficients of the variables and thus produces bad solutions. Is

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
Sorry, wrong function def MSolveSys(syss): eqns=eval(syss) solns=maxima.solve(eqns) return solns On Sep 1, 10:31 am, Jason Grout wrote: > Robert Bradshaw wrote: > > On Sep 1, 2009, at 9:17 AM, Mikie wrote: > > >> Here is function I am using to solve system

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
When I run the server with the function above and the following string from a text box I get [y=-1,x=0]. The string is "[3*x-y-1,x+(1/3)*y]" It is changing the input value to [3*x-y-1,x] On Sep 1, 10:38 am, Mikie wrote: > Sorry, wrong function > > def MSolveSys(syss):

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
I have tried SR. I get a malformed value. Yes, I understand the problem with eval. Do you have any suggestions on how to get the right value into maxima.solve? On Sep 1, 11:32 am, Robert Bradshaw wrote: > On Tue, 1 Sep 2009, Mikie wrote: > > > When I run the server with the fu

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
Yes, Robert eval is doing the rounding. How do I fix it? On Sep 1, 12:31 pm, Mikie wrote: > I have tried SR.  I get a malformed value.  Yes, I understand the > problem with eval.  Do you have any suggestions on how to get the > right value into maxima.solve? > > On Sep 1, 1

[sage-support] Re: Maxima Solve sys

2009-09-01 Thread Mikie
for another .js file it cannot find. On Sep 1, 12:37 pm, Mikie wrote: > Yes, Robert eval is doing the rounding.  How do I fix it? > > On Sep 1, 12:31 pm, Mikie wrote: > > > > > I have tried SR.  I get a malformed value.  Yes, I understand the > > problem with eval.  

[sage-support] Completing the square

2009-09-02 Thread Mikie
Here is a proc(Mupad) I wrote for showing the steps in completing the square for a quad //Completing the Square Method of solving quadratic equation quad:= proc(co1,co2,co3) local a,b,c,eq1,q1,Lcoef,half2,eq2,eq3,op1,op2,op3, eq1a,eq

[sage-support] Re: Maxima Solve sys

2009-09-02 Thread Mikie
Didn't you create the API using the notebook? On Sep 1, 10:02 pm, Robert Bradshaw wrote: > On Sep 1, 2009, at 12:16 PM, Mikie wrote: > > > I took out the eval and for some reason it is working. > > Robert, this is function in my API (AlgCalc) > >http://pirsqrt.com

[sage-support] Re: Completing the square

2009-09-02 Thread Mikie
^2 + 3*x/2 + sage261 + 2 9/16 Why the "sage261"? On Sep 2, 11:09 am, Robert Bradshaw wrote: > On Wed, 2 Sep 2009, Mikie wrote: > > > Here is a proc(Mupad) I wrote for showing the steps in completing the

[sage-support] Re: Completing the square

2009-09-02 Thread Mikie
p 2, 1:32 pm, Mikie wrote: > > > Here is my start using Sage and Maxima. > > > > > > def CSquare(co1,co2,co3): > > >     eq1=co1*x^2+co2*x+co3 > > >     eq3=eq1==0 > > >     eq2=factor(eq1) >

[sage-support] Re: Maxima Solve sys

2009-09-03 Thread Mikie
. One of the problems is that I am calling the JSmath from a server. It is a path problem. I can insert images in the html file. On Sep 2, 11:10 am, Robert Bradshaw wrote: > On Wed, 2 Sep 2009, Mikie wrote: > > > Didn't you create the API using the notebook? > > Yes, I cr

[sage-support] Re: Completing the square

2009-09-03 Thread Mikie
Here is the finished product for CS. -- def CSquare(co1,co2,co3): eq1=co1*x^2+co2*x+co3 eq3=eq1==0 eq2=factor(eq1) eq4=(1/co1)*eq2 eq10=expand(eq4) M1=maxima.args(eq10);L1=len(M1) Cof1=maxima.args(eq10);Cof1a=Cof1[2];

[sage-support] eval(string)

2009-09-08 Thread Mikie
I am taking a string that is a list. It is coming from a html form. Is there anyway other than eval to get the value from the list? When I take a single value from the form I use SR and it works, but no luck with the list. Thanx --~--~-~--~~~---~--~~ To post to th

[sage-support] Re: eval(string)

2009-09-08 Thread Mikie
st it is? Post an example, > tell us what web form it is (if necessary) and what do you want to do > with it? Besides eval, there is also sage_eval. > > H > > On Sep 8, 7:01 pm, Mikie wrote: > > > > > I am taking a string that is a list.  It is coming from a html for

[sage-support] Re: eval(string)

2009-09-09 Thread Mikie
8, 2:38 pm, Robert Bradshaw wrote: > On Sep 8, 2009, at 11:28 AM, Mikie wrote: > > > Here is the function > > --- > > def BasicStats1a(exp1): > >     v = exp1 > >     v1 = eval(v);Count_=len(v1) > >     sort_v1=sorted(v1) &g

[sage-support] Re: Maple

2009-09-10 Thread Mikie
In the thread on Mathematica, is it possible to use it in the notebook. I would also need to work in a Python script. On Sep 10, 9:22 am, William Stein wrote: > On Thu, Sep 10, 2009 at 8:04 AM, Mikie wrote: > > > Is it possible to use Maple(V?) in the notebook? > > Than

[sage-support] Display but don't calc

2009-09-11 Thread Mikie
Is there anyway to display an expression in the notebook, but not have it calculate? Such sqrt(4)+sqrt(12). Don't simplify. Or integral (x^2,x) Thanx --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: eval(string)

2009-09-14 Thread Mikie
Robert, Can I use your technique above to input this string? The "[5]*3" gives me a problem L1="[3,10,15,23,25,30,3,[5]*3]" On Sep 10, 1:56 pm, Robert Bradshaw wrote: > On Sep 10, 2009, at 12:24 PM, Robert Bradshaw wrote: > > > > > > > > > On Sep 9, 2009, at 9:01 AM, Tim Dumol wrote: > > >>

[sage-support] latex/jsmath error

2009-09-14 Thread Mikie
Put from sage.misc.latex import JSMath into the notebook. Then %latex $x^2-x$ Then I get the following error An error occured. Error latexing slide. It is possible to do Latex in Sage? --~--~-~--~~~---~--~~ To post to th

[sage-support] Re: latex/jsmath error

2009-09-14 Thread Mikie
sage-native-execute: line 8: latex: command not found An error occured. Error latexing slide. Using Firefox. Sage Version 3.2. On Sep 14, 2:02 pm, John H Palmieri wrote: > On Sep 14, 12:38 pm, Mikie wrote: > > > Put > > from sage.misc.latex import JSMath > > Why?  This i

[sage-support] Access to restricted URI denied

2009-09-15 Thread Mikie
I am trying again to get jsMath to work on my API server. I am loading load.js in my Python script and it seems to load. However, tex2math that is in the plugins directory and gives me "Access to restricted URI denied". I will give anyone a copy of my API for help on solving this problem. --~-

[sage-support] Re: eval(string)

2009-09-16 Thread Mikie
help with my API? On Sep 14, 7:59 pm, Robert Bradshaw wrote: > On Sep 14, 2009, at 12:09 PM, Mikie wrote: > > > Robert, > > > Can I use your technique above to input this string?  The "[5]*3" > > gives me a problem > > > L1="[3,10,15,23,25,30

[sage-support] Completing the square

2009-09-16 Thread Mikie
Try my completing the square function http://pirsqrt.com:1843 Robert, thanks for all your help. A lot of work to get the "=" in the output. Maxima really helped. I think I traped most of the bad input. Did not use "eval" any place in the Python scipt. --~--~-~--~~~-

[sage-support] Re: latex/jsmath error

2009-09-22 Thread Mikie
Can I do --- gcc (with C++ support) make--out m4-- out per-- out ranlib--out tar--out latex -- just this -- On Sep 14, 6:36 pm, William Stein wrote: > On Mon, Sep 14, 2009 at 1:21 PM, Mikie wrote: > > > This is from debug > > cd "

[sage-support] jsMath working on server

2009-09-23 Thread Mikie
Finally I have jsMath working on my server. Try http://pirsqr.com:1843/ Really strange works great on IE8, but not quit as good with FireFox. The integrator has all the pretty print. Put "int" in the type and take a look at the pretty print output. I would like some feedback on how FireFox do

[sage-support] Re: jsMath working on server

2009-09-25 Thread Mikie
/ On Sep 23, 10:35 am, Mikie wrote: > Finally I have jsMath working on my server. > > Tryhttp://pirsqr.com:1843/ > > Really strange works great on IE8, but not quit as good with FireFox. > > The integrator has all the pretty print.  Put "int" in the type and > take

[sage-support] Re: statistics in sage

2009-09-28 Thread Mikie
There is a nice stats package in Scipy with Numpy. On Sep 26, 1:34 am, Robert Bradshaw wrote: > Yes, there's some stuff in the finance.time_series for doing simple   > stats over the reals. (This really needs to be put somewhere more   > obvious, along with histogram, etc.) > > sage: sage.financ

[sage-support] Re: twisted server

2009-09-30 Thread Mikie
29, 2009 at 5:12 PM, Alex Clemesha wrote: > > > On Tue, Sep 29, 2009 at 4:42 PM, William Stein wrote: > > >> On Tue, Sep 29, 2009 at 4:41 PM, Alex Clemesha wrote: > > >>> On Tue, Sep 29, 2009 at 8:26 AM, Mikie wrote: > > >>>> Does anyone have an

[sage-support] Re: twisted server

2009-09-30 Thread Mikie
ologies if this is not the question you are asking. > > -Alex > > > > > > > > > On Sep 29, 8:55 pm, William Stein wrote: > >> On Tue, Sep 29, 2009 at 5:12 PM, Alex Clemesha wrote: > > >> > On Tue, Sep 29, 2009 at 4:42 PM, William Stein

[sage-support] Re: twisted server

2009-09-30 Thread Mikie
red()) root.putChild("men", menu()) root.putChild("rim", rwrite()) factory = Site(root) reactor.listenTCP(, factory) reactor.run() - On Sep 30, 1:02 pm, Alex Clemesha wrote: > On Wed, Sep 30, 2009 at 11:53 AM, Mikie wrote: > > >

[sage-support] class problem

2009-10-01 Thread Mikie
I have a class with a lot of def functions. It says 2 args. Right. It says I am passing 3. I am not a Python wizard. Thanx Calling it with val31a=SR(request.args['Expression2'][0]) val30a = SR(request.args['Var2'][0]) s = Rfuncs() ans=s.Integrate3a(val31a,val30a) class Rfunc

  1   2   >