[sage-support] Re: Numeric Approximation with Symbolics

2018-02-26 Thread Ralf Stephan
On Tuesday, February 27, 2018 at 1:06:37 AM UTC+1, Pstrang Rzekle wrote: > Is there a way to trick SageMath into presenting numeric approximations > with symbolics? In this specific case, handling numbers with units attached. > You will have to use an internal method and convert the number of

[sage-support] Re: How to get special values of arccos

2018-02-26 Thread Ralf Stephan
On Monday, February 26, 2018 at 9:08:47 AM UTC+1, Simon King wrote: > > Question: How can one get the exact value of arccos(1/2*sqrt(sqrt(2) + 2)) > (which is pi/8)? I tried .simplify_full() and so on, but to no avail. > First, there is no such ready functionality. There are probably several

Re: [sage-support] Is this a bug?

2018-02-26 Thread David Joyner
On Mon, Feb 26, 2018 at 8:52 PM, Juan Luis Varona wrote: > In sagemath 7.5, we can use this code: > > t=var('t'); > M=matrix(4,[[0,0,5/4,2],[t,0,0,0],[0,1,0,0],[0,0,1,0]]); > P=charpoly(M); > P.substitute(x=1) > > Then, we get the correct answer >

[sage-support] Is this a bug?

2018-02-26 Thread Juan Luis Varona
In sagemath 7.5, we can use this code: t=var('t'); M=matrix(4,[[0,0,5/4,2],[t,0,0,0],[0,1,0,0],[0,0,1,0]]); P=charpoly(M); P.substitute(x=1) Then, we get the correct answer -13/4*t + 1 However, the same code gives an error with sagemath 8.2. A workaround that again gives

[sage-support] Numeric Approximation with Symbolics

2018-02-26 Thread Pstrang Rzekle
Is there a way to trick SageMath into presenting numeric approximations with symbolics? In this specific case, handling numbers with units attached. For example: ┌┐ │ SageMath version 8.1, Release Date: 2017-12-07

[sage-support] Computing large degree isogenies in Sage

2018-02-26 Thread ET
I have been playing lately with isogeny computation functions that Sage provides, but I noticed that they kind of get stuck (computations does not finish in reasonable time) when using _largish_ values, which doesn't seem to happen when using Magma's isogeny computation functions. For

[sage-support] Re: computing problem

2018-02-26 Thread Dima Pasechnik
This is a Maxima bug; running this in Sage's version of Maxima gives (%i5) integrate(sqrt(cos(2*(x)))/sin(x),x); sign: argument cannot be imaginary; found %i -- an error. To debug this try: debugmode(true); The same error is produced by the latest Maxima: Maxima 5.41.0

[sage-support] computing problem

2018-02-26 Thread Michael Colin D' Souza
integral(sqrt(cos(2*(x)))/sin(x),x) gave a runtime error message "RuntimeError: ECL says: Error executing code in Maxima:". -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send

[sage-support] Re: Help installing from source in Mac OSX 10.11.6

2018-02-26 Thread mforets
Yes, i wish now to recompile (git trac pull on develp branch) after a while. In a fresh session, if i try to make after a distclean i get the different error message below related to some dyld: Library not loaded: /usr/local/opt/mpfr/lib/libmpfr.4.dylib Referenced from: /usr/local/bin/gawk.

[sage-support] Re: Help installing from source in Mac OSX 10.11.6

2018-02-26 Thread Dima Pasechnik
you probably didn't update sage for a while there. make distclean ? On Monday, February 26, 2018 at 10:12:31 AM UTC, mforets wrote: > > Hello, > In a Mac OSX 10.11.6 with Xcode 8.2.1, compiling sage 8.2.beta6 from > sources i get the error message below: > > $ make >

[sage-support] Help installing from source in Mac OSX 10.11.6

2018-02-26 Thread mforets
Hello, In a Mac OSX 10.11.6 with Xcode 8.2.1, compiling sage 8.2.beta6 from sources i get the error message below: $ make /Applications/Xcode.app/Contents/Developer/usr/bin/make build/make/Makefile --stop ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in configure.ac:390:

[sage-support] Re: Error installing package brial-1.0.1.p1

2018-02-26 Thread Dima Pasechnik
well, I honestly don't even know a Sagemath component which uses SQL. Presumably it is not a so important problem. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email

[sage-support] Re: Error installing package brial-1.0.1.p1

2018-02-26 Thread hans . sachs
Goiod Morning Dima, I thought sage works fine on my server - this is only the half truth user with $HOME on a local drive - no problems but all my users has the $HOME on a nfs-mount - so I have similar problems as by 'make' is this a critical bug or tolerable? [john-d@fb09-pg-s202 bin]$

[sage-support] How to get special values of arccos

2018-02-26 Thread Simon King
Hi! SageMath knows a couple of special values for the cosine function, such as sage: cos(pi/8) 1/2*sqrt(sqrt(2) + 2) However, SageMath's knowledge of special values of the arccos function seems a lot more limited: sage: arccos(_) arccos(1/2*sqrt(sqrt(2) + 2)) sage: arccos(1/2) 1/3*pi