[sage-support] problem with matrix over finite field

2019-07-11 Thread Hal Snyder
This works on sage-8.5: sage: a = var('a') : matrix(GF(25, a), [[1,0], [0, 1]]) : [1 0] [0 1] but not on sage-8.6 or later: sage: a = var('a') : matrix(GF(25, a), [[1,0], [0, 1]]) : p025.zzz: No such file or directory

[sage-support] Re: Numerical integration and parametic curves

2014-09-10 Thread Hal Snyder
s powerful, but it doesn't give you symbolic > answers. Even if you make the integration bound a symbolic variable. > > > > On Wednesday, September 10, 2014 6:09:06 AM UTC+1, Hal Snyder wrote: >> >> This works on my sage-6.1.1: >> >> s = var('s') >

[sage-support] Re: Numerical integration and parametic curves

2014-09-09 Thread Hal Snyder
This works on my sage-6.1.1: s = var('s') def g(s): return numerical_integral(cos(pi*x^2/2), 0, s, max_points=100)[0] def h(s): return numerical_integral(sin(pi*x^2/2), 0, s, max_points=100)[0] p = plot((g,h),(-pi,pi),parametric=True) show(p) On Tuesday, September 9, 2014 5:17:14 PM UT

[sage-support] Quick Search missing/broken for OSX 10.9.4?

2014-09-06 Thread Hal Snyder
I'm adding info to a problem previously reported on this group - https://groups.google.com/d/msg/sage-support/W02WUZjnX9I/1pr4MiVHpLEJ - if I launch notebook() from the Sage binary, browse to help and then to any of the top row of links (Tutorial, Reference Manual, etc.), the left navbar has th

Re: [sage-support] exponents with units of measurement?

2014-09-01 Thread Hal Snyder
how could I have missed that? Thank you! On Monday, September 1, 2014 10:35:11 PM UTC-5, shersonb wrote: > > Try the .simplify_radical() method. > > ~Brian > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and

[sage-support] exponents with units of measurement?

2014-09-01 Thread Hal Snyder
Is there a way to simplify sqrt(some_unit_of_measurement^2) without knowing what's in the expression? Often a chain of computations will lead to a result like the following: 7.5 * sqrt(units.length.meter^2) I would sage to simplify the units and give me 7.50*meter but haven't foun

[sage-support] Re: My Reference Manualdoesnt have a "Quick search" input box.

2014-08-10 Thread Hal Snyder
Reproduced here with Sage Version 6.3, Release Date: 2014-08-10 on OS X 10.9.4 and Google Chrome. 1. No search box at bottom of left navbar in reference manual if I follow link from notebook() and help, or visit the help link directly in the notebook server at http://localhost:8080/doc/live/ref

[sage-support] Re: numerical approximation with units of measurement?

2014-06-06 Thread Hal Snyder
ote: > > On Thursday, June 5, 2014 6:32:42 PM UTC-7, Hal Snyder wrote: >> >> IIs there a simple way to take n() of things without getting into the >> following? >> > You could automate the application, but you'll quickly see you need to be > a bit caref

[sage-support] numerical approximation with units of measurement?

2014-06-05 Thread Hal Snyder
Is there a preferred way of taking numerical approximation of a quantity in Sage with units of measure? Here is a contrived example: r = 123/47 * units.length.meter r area = pi * r^2 area output: 123/47*meter 15129/2209*pi*meter^2 Now imagine that r is not a literal but the result of other cal