Re: [sage-support] convert rationals to reals in symbolic expression

2015-05-07 Thread Michael Orlitzky
On 05/07/2015 11:19 AM, Douglas Davis wrote: > Is there a way to convert a symbolic result from using rational expressions > and constants to the corresponding expression using reals? > > For example if I have a result of > > -15/28*2^(2/3)*a*hh^2+32/pi*b^3 > > I need to convert it to > > -0.8

[sage-support] Re: convert rationals to reals in symbolic expression

2015-05-07 Thread Dima Pasechnik
On Thursday, 7 May 2015 21:04:36 UTC+1, Douglas Davis wrote: > > Is there a way to convert a symbolic result from using rational > expressions and constants to the corresponding expression using reals? > > For example if I have a result of > > -15/28*2^(2/3)*a*hh^2+32/pi*b^3 > > I need to conver

[sage-support] convert rationals to reals in symbolic expression

2015-05-07 Thread Douglas Davis
Is there a way to convert a symbolic result from using rational expressions and constants to the corresponding expression using reals? For example if I have a result of -15/28*2^(2/3)*a*hh^2+32/pi*b^3 I need to convert it to -0.85039*a*hh^2 + 10.186*b^3 Anything I try I gives "cannot evaluat

[sage-support] Re: Sym Py vs Maxima for symbolic computation

2015-05-07 Thread Douglas Davis
In my limited experience it is best to let Sage handle the symbolic computations explicitly. Then specify sympy ( algorithm='sympy') as a check on important solutions or when the default gives an error. When working on advanced problems it is always best to have a backup and a check on your

[sage-support] Re: cannot open worksheet

2015-05-07 Thread kcrisman
> after updating to sage-6.5, I always get a blank page when I open the > worksheet in browser (it works well when I use terminal). can anyone help? > I recommend doing what is called a "hard cache reset". That means clearing your browser of all files (including, in particular, javascript) r

Re: [sage-support] find_root for systems

2015-05-07 Thread Jori Mäntysalo
On Thu, 7 May 2015, Dima Pasechnik wrote: nobody really knows how to solve systems of (non-polynomial) equations in general. There are heuristics implemented in various systems... What of those are built-in in Sage? -- Jori Mäntysalo

[sage-support] Simplifying binomials

2015-05-07 Thread Jori Mäntysalo
I was asked where f(n,k)=(binomial(2*n + 2, n + 1) / 2 - binomial(2*n, n) - sum(binomial(n, k) * binomial(n, k-1), k,1,n)) f.full_simplify() got magic constant sqrt(pi). Right answer is zero. -- Jori Mäntysalo

Re: [sage-support] find_root for systems

2015-05-07 Thread Vincent Delecroix
On 06/05/15 14:55, Paul Royik wrote: > For example, > x^5+y^5=7 > x*sin(y)=1 Newton method is perfectly fine here var('x,y') f(x,y) = x^5 + y^5 - 7 g(x,y) = x*sin(y) - 1 F(x,y) = (f, g) m = F.derivative() V = VectorSpace(RDF, 2) v = V((2,2)) for _ in range(10): fv = F(*v) v = V(m(*v).so

[sage-support] Re: cannot open worksheet

2015-05-07 Thread Dima Pasechnik
upgrade to 6.6, to begin with... On Thursday, 7 May 2015 09:10:16 UTC+1, oo8oo wrote: > > after updating to sage-6.5, I always get a blank page when I open the > worksheet in browser (it works well when I use terminal). can anyone help? > -- You received this message because you are subscribed

Re: [sage-support] find_root for systems

2015-05-07 Thread Dima Pasechnik
On Wednesday, 6 May 2015 07:27:36 UTC+1, Paul Royik wrote: > > How can this be applied to systems? > nobody really knows how to solve systems of (non-polynomial) equations in general. There are heuristics implemented in various systems... > > On Wednesday, May 6, 2015 at 1:28:55 AM UTC+3, Di

[sage-support] cannot open worksheet

2015-05-07 Thread oo8oo
after updating to sage-6.5, I always get a blank page when I open the worksheet in browser (it works well when I use terminal). can anyone help? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving

[sage-support] problems on starting the sage

2015-05-07 Thread oo8oo
After updating the sage to sage-6.5 on a mac, sage can not start. It always gives me a blank page (without any words) on http://localhost:8080/. (It works fine if I use terminal) Anyone can help me? 3x! -- You received this message because you are subscribed to the Google Groups "sage-suppor