This post was prepared to be upload to ask.sagemath.org, but I got a
warning "Spam was detected on your post, sorry for if this is a mistake"
that forbids me to post the question.
-
I'm interested in solving the differential equation $$3 h' + 3 h^2 = c_1,$$
where
or=find_local_maximum(den,-1,1,tol=1e-18); norm_factor
> print("Point where local maximum occurs: " + str(norm_factor[1]))
> print("Local maximum: " + str(norm_factor[0](omega=norm_factor[1]).n()))
> plot(den(omega),-1,1)
>
> On Friday, January 12, 2018 at 4:51:32
Thank you! maybe the code on the other message will serve as an
example/test.
On Sunday, January 14, 2018 at 8:11:10 AM UTC+1, Ralf Stephan wrote:
>
>
>
> On Friday, January 12, 2018 at 4:51:32 PM UTC+1, Vegard Lima wrote:
>>
>> TypeError: unable to coerce to a real number
>>
>
> Thanks. I
12, 2018 at 4:10 PM, João Alberto de França Ferreira
> <joa...@gmail.com > wrote:
> > Is there a way to compute the local maximum of the absolute value of a
> > polynomial with complex coefficients? the below snippet should exemplify
> my
> > problem.
> ...
>
Hi!
Is there a way to compute the local maximum of the absolute value of a
polynomial with complex coefficients? the below snippet should exemplify my
problem.
var('omega')
plot(abs(-omega^6 + 2.52349407705763*I*omega^5 + 4.57149144245722*omega^4 -
4.95095921397014*I*omega^3 -
Yes, thank you! This is what I made.
On Friday, February 3, 2017 at 8:52:30 AM UTC+1, Dima Pasechnik wrote:
>
> You can always create a symbolic link in /usr/local/bin/ to some other
> location.
>
> sudo ln -sf /blah/foo/sage /usr/local/bin/sage
>
> after building sage in /blah/foo/
>
>
--
53:43 PM UTC-8, João Alberto Ferreira
> wrote:
>>
>> Well, I read somewhere about this procedure of moving the directory
>> before starting sage, but the Installation Manual seems to tell the same
>> thing.
>>
>> "The directory where you built Sage i
age/sage /usr/bin/sage
>
>
>
> Le 02/02/2017 à 20:43, João Alberto Ferreira a écrit :
>
> Hi!
>
> I just removed "/home/mmsim/tools/lib/64bit" from the LD_LIBRARY_PATH
> environment variable and sage compiled.
>
> I compiled it in my home directory and mov
n Thursday, February 2, 2017 at 12:14:51 PM UTC+1, Dima Pasechnik wrote:
>
>
>
> On Thursday, February 2, 2017 at 10:36:41 AM UTC, João Alberto Ferreira
> wrote:
>>
>>
>>
>> On Wednesday, February 1, 2017 at 7:24:56 PM UTC+1, Dima Pasechnik wrote:
>>>
On Wednesday, February 1, 2017 at 7:24:56 PM UTC+1, Dima Pasechnik wrote:
>
>
>
> On Wednesday, February 1, 2017 at 6:00:25 PM UTC, João Alberto Ferreira
> wrote:
>>
>> Well, not yet.
>>
>> openblas has compiled successfully. The problem now is with R.
.x86_64
On Wednesday, February 1, 2017 at 5:56:44 PM UTC+1, João Alberto Ferreira
wrote:
>
> Thank you!
>
> I've done:
>
> [defrancaferr_joa@javel ~]$ sudo yum install centos-release-scl
> [defrancaferr_joa@javel ~]$ sudo yum install devtoolset-3-toolchain
> [defrancaferr_
if it will work.
On Wednesday, February 1, 2017 at 5:27:36 PM UTC+1, Dima Pasechnik wrote:
>
>
>
> On Wednesday, February 1, 2017 at 3:52:05 PM UTC, João Alberto Ferreira
> wrote:
>>
>> Hi!
>>
>> Here it is the command output.
>>
>> [defrancaferr_
old to understand the whole range of
> assembler commands for your CPU.
>
>
> On Wednesday, February 1, 2017 at 10:09:27 AM UTC, João Alberto Ferreira
> wrote:
>>
>> Hi!
>>
>> I have tried to compile sagemath under a CentOS 6.8 machine, as the
>> binarie
Hi!
Does any one knows a function or a way to return the argument of a
sinusoidal function? I have the following code and wanted to operate on the
argument of the cosinus function.
# upchirp carrier
var('t, phi_0, omega_0, omega_1, T')
k = (omega_1 - omega_0)/T; k
# linear chirp signal
http://ciencias.uis.edu.co/grupobioquimicateorica/clases/sagemath/
quinta-feira, 29 de Setembro de 2016 às 21:00:19 UTC+1, Drew Johnson
escreveu:
> A feature of the Windows 10 Anniversary Edition is that you can now use a
> Ubuntu bash that can access your Windows file system.
>
>
>
This seems to work
r = matrix(CallableSymbolicExpressionRing((theta,)), cos(theta/2)*s0 -
I*sin(theta/2)*sy)
Are there other possibilities?
Le jeudi 19 mai 2016 10:36:22 UTC+2, Alberto Verga a écrit :
>
> I want to define a matrix valued function: what is wrong with this code?
>
>
I want to define a matrix valued function: what is wrong with this code?
s0 = matrix([[1,0],[0,1]])
sy = matrix([[0,-I],[I,0]])
r(theta) = cos(theta/2)*s0 - I*sin(theta/2)*sy
r(1) does not evaluate to r(theta=1)
Thanks!
--
You received this message because you are subscribed to the Google
I am trying sagetex in cloud.sagemath.com. Sagetex manual says at the top
of page 7, that if nothing is specified for the ,
"width=.75\textwidth" will be used. It's a good thing, so the plots do not
extrapolate page margins. However, it's not working, and we should pass
explicit the above
Dear community,
I'd like to show to my students how to obtain the structure functions of a
Lie group, say SU(3). Therefore, I create a basis for the Lie algebra,
normalized via the trace of the squares. Then, I defined a commutator
function, and start calculating the algebra... However, I'd
Dear community,
I'm using SAGE with SageManifolds to calculate Lie derivatives. First, I
would like to congratulate all the team of developers, because day to day
sagemanifolds get more useful. Next, the "problem".
I'm trying to find the most general rank two tensor compatible with O(3)
ll doc and
> sm-install.sh :
>
> http://sagemanifolds.obspm.fr/download.html#script_install/sm-install.sh
>
> I prefer than git.
>
> Le 31/03/2016 19:00, Oscar Alberto Castillo Felisola a écrit :
>
> Hi Eric,
>
> I finally compiled the source of sage from github, but
gt;
> I'm afraid I cannot help much with your specific problem. The only thing I
> can tell is that Sage 7.1 + SageManifolds 0.9 works well on Ubuntu, which
> is based on Debian, but of course differs from it.
>
> Best regards,
>
> Eric.
>
> Le mardi 29 mars 2016 16
esday, March 29, 2016 at 4:04:20 PM UTC+2, Oscar Alberto Castillo
> Felisola wrote:
>>
>> Dear community,
>>
>> lately, I'm having problems with the installation of SAGE. I downloaded
>> the version Sage v.7.1 for Debian_8, and it seems to work... but I
>> inst
Dear community,
lately, I'm having problems with the installation of SAGE. I downloaded the
version Sage v.7.1 for Debian_8, and it seems to work... but I installed
sagemanifold v.0.9, and I got the report file attached to this post.
I'm having problems too when compiling the scr code,
i have this error after several hours of compiling sage on my netbook, any
ideas?
make[3]: Entering directory '/opt/sage-7.1/src'
python -c "from sage_setup.autogen.pari import rebuild; rebuild()"
sys:1: RuntimeWarning: not adding directory '' to sys.path since everybody
can write to it.
On Thursday, February 11, 2016 at 9:04:16 PM UTC-2, Nils Bruin wrote:
>
> On Thursday, February 11, 2016 at 11:32:45 AM UTC-8, João Alberto Ferreira
> wrote:
>>
>> 1) Isn't there a way to pass to the Piecewise function if the intervals
>> are open o
I have a function g(x) equal to x^2 if x >= 5, and equal to 2*x if x < 5. I
constructed the piecewise function as follows:
g1(x) = x**2
g2(x) = 2*x
g = Piecewise([[(-Infinity,5),g2],[(5,Infinity),g1]])
When I evaluate f(5), it returns 35/2 because it evaluates g1(5), g2(5) and
returns the
Thank you very much Harald!
--
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
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to
Hi. I know that one can define a function by declaring
sage: f = function('f', t,r)
However, I'm interested in declaring a matrix filled with different
functions. Of course, for a small matrix I can do it by hand, but for
huge matrices it is boring and make no sense.
Is it possible to do
I'd like to obtain something like
f11 = function('f11', t,r)
f12 = function('f12', t,r)
f21 = function('f21', t,r)
f22 = function('f22', t,r)
M = matrix(2,2, [[f11, f12], [f21, f22]])
Note that in principle all the functions depend on the same variables.
If the assignation of functions could be
Is it possible to choose different fontsize(s) for the axis labels and the
numbers in the axis?
I'm particularly interested in the `implicit_plot` function, but if it
works in a usual `plot` is good enough!!!
Thank you.
--
You received this message because you are subscribed to the Google
After upgrading Sage on an old laptop, the upgrade process ended with the
following error message. What am I supposed to do? I execute make doc-clean
and then what?
Apparently, Sage is working normally.
Thanks!
João.
...
[graphs ] reading sources... [ 91%] sage/graphs/schnyder
[graphs ]
version (more info here:
http://www.sagemath.org/doc/developer/sage_manuals.html).
If you don't care about the documentation you can just leave it as it is.
Vince
On Tue Nov 25 2014 at 10:19:00 PM João Alberto Ferreira joa...@gmail.com
javascript: wrote:
After upgrading Sage on an old laptop
, October 30, 2014 12:05:21 AM UTC-2, Nils Bruin wrote:
On Wednesday, October 29, 2014 5:09:55 PM UTC-7, João Alberto Ferreira
wrote:
How can I install wxPython (wx module) in Sage?
Have you tried executing sage -sh and then following the build
instructions at http://wxpython.org
I was trying to use Python's re (regular expressions) module to parse
a log file, but when I ran the following example from the Python
documentation, I realized he was not working as expected. Is there
something here that I do not know?
joao@Hades:~$ sage --python
Python 2.7.8 (default, Aug 10
Ok, thank you!
On Saturday, November 1, 2014 12:03:33 AM UTC-2, Nils Bruin wrote:
On Friday, October 31, 2014 6:17:44 PM UTC-7, João Alberto Ferreira wrote:
joao@Hades:~$ sage
┌┐
│ Sage Version 6.3, Release Date: 2014-08
How can I install wxPython (wx module) in Sage?
I tried:
joao@Hades:~$ sage --python -m easy_install wxPython
Searching for wxPython
Reading https://pypi.python.org/simple/wxPython/
Reading http://wxPython.org/
Reading http://wxPython.org/download.php
Best match: wxPython src-3.0.1.1
Downloading
Understood. Thank you!
On Friday, October 24, 2014 2:45:46 PM UTC-2, Nils Bruin wrote:
On Thursday, October 23, 2014 11:46:02 AM UTC-7, João Alberto Ferreira
wrote:
I am running the following Python example from the book Learning
Python, from Mark Lutz and David Ascher, but Sage
I am running the following Python example from the book Learning
Python, from Mark Lutz and David Ascher, but Sage is returning a
TypeError after presenting the correct response. Can anyone explain me
why? I've found this very strange.
sage: class Commuter:
: def __init__(self, val):
__add__ and __radd__ by hand. If you want to learn
about
them make sure to not add Sage objects (like Sage integers). E.g.
int(1) + y
would work.
On Thursday, October 23, 2014 7:46:02 PM UTC+1, João Alberto Ferreira
wrote:
I am running the following Python example from
I am plotting some graphs, but the plot becomes cluttered because of
the long labels. The labels are result of a conversion from a Real
number to a string. The problem here is that Sage is not consistent
with Python, as shown in the example below.
Python:
multiplier = [1.0e0, 1.0e1, 1.0e2]
Thank you, Samuel. The conversion to RDF worked because it coerces the
other types to RDF (I think). If I convert the multiplier values to RR, RLF
or float, the conversion does not help anymore.
On Monday, October 6, 2014 1:30:03 PM UTC-3, slelievre wrote:
João Alberto Ferreira wrote:
I am
, is it?
Vincent
2014-10-06 18:03 UTC+02:00, João Alberto joa...@gmail.com javascript::
I am plotting some graphs, but the plot becomes cluttered because of
the long labels. The labels are result of a conversion from a Real
number to a string. The problem here is that Sage is not consistent
, October 6, 2014 3:39:32 PM UTC-3, Jeroen Demeyer wrote:
On 2014-10-06 18:03, João Alberto wrote:
Is this a correct behavior of Sage?
It's a feature, not a bug. The reason is that the number of digits gives
an idea about the precision of the number. Compare
sage: RealField(20)(1)
1.
OK! thank you!
On Saturday, October 4, 2014 3:50:07 AM UTC-3, Jeroen Demeyer wrote:
On 2014-10-04 00:16, Volker Braun wrote:
The operands will coerce to RR
No, that's http://trac.sagemath.org/ticket/2034
I'd say its an oversight.
Yes, but it's fixed in
Hi! I was experimenting with floor division in Sage using the int and float
types of Python and Integeger and RealNumber types of Sage to understand
the differences. I've found that the floor division operator (//) in Sage
does not support real numbers. Is there a reason for this? (I ask just for
I'm a regular user of Sage. First I used the Ubuntu version, and now that I
run a Debian flavour of Linux, I compile the source each time a new version
is release.
However, I'm intriguing whether or not is possible to build Sage from the
git repository.
*Is it possible? How could I do that?*
Checking it out! Thank you John.
--
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
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to
More info:
I've just realised that the problem is not the function weil_pairing() but
p1.order().
SAGE gets stuck calculating the order of the point.
Regards.
El domingo, 15 de junio de 2014 01:17:06 UTC+2, Alberto Garcia escribió:
Hello,
I'm trying to calculate a pairing with the SAGE
Hello,
I'm trying to calculate a pairing with the SAGE weil_pairing() function
while using a distortion map, but the weil_pairing() function never returns
and it seems like is eating all the computer memory.
Here is the code I'm using:
sage: p = 293779600266612700060489507
sage: F = GF(p)
SAGE version:
'Sage Version 6.1.1, Release Date: 2014-02-04' in MacOS X.
El domingo, 15 de junio de 2014 01:17:06 UTC+2, Alberto Garcia escribió:
Hello,
I'm trying to calculate a pairing with the SAGE weil_pairing() function
while using a distortion map, but the weil_pairing() function
I have tried to install Sage in an old laptop with Lubuntu with the
following three commands:
--
$ sudo -E apt-add-repository -y ppa:aims/sagemath
$ sudo -E apt-get update
$ sudo -E apt-get install sagemath-upstream-binary
--
but the last command returned
--
Package
at
https://groups.google.com/forum/#!topic/sage-support/3mekDq5Stvk - if you
use a Python function instead of a symbolic one, it might work even now.
Good luck!
- kcrisman
On Sunday, April 20, 2014 9:05:12 AM UTC-4, Alberto Verga wrote:
Same question:
kx, ky = var('kx', 'ky', domain
You may try:
r, p = var('r', 'p', domain = 'real')
norm( vector([r*cos(p), r*sin(p)]) ).simplify_full()
Le samedi 19 avril 2014 20:53:53 UTC+2, Hadi Lq a écrit :
Hi everyone
sage: R.r,p=RR[]
sage: rvec=vector([r*cos(p),r*sin(p)])
sage: rr=rvec.norm()
sage: rr.simplify_full()
add assume r0
r,p = var('r', 'p', domain='real')
assume(r0)
norm(vector([r*cos(p),r*sin(p)])).simplify_full()
to obtain r
Le samedi 19 avril 2014 20:53:53 UTC+2, Hadi Lq a écrit :
Hi everyone
sage: R.r,p=RR[]
sage: rvec=vector([r*cos(p),r*sin(p)])
sage: rr=rvec.norm()
sage:
= 'real')
contour_plot( abs( exp(I*x) ), (x, -pi, pi), (y, -pi, pi) )
giving the same error: TypeError: unable to coerce to a real number
Alberto.
Le mardi 28 janvier 2014 19:26:35 UTC+1, Albert Schueller a écrit :
This morning I figured out how to plot the modulus of a complex function
OK, but why we need to use limit to compute a convergent sum...?
For instance
sum(1/n^2,n,2,oo)
gives pi^2/6-1
but
limit(sum(1/n^2,n,2,x), x=oo)
do not give a result...
Le mercredi 16 avril 2014 12:29:08 UTC+2, jori.ma...@uta.fi a écrit :
On Wed, 16 Apr 2014, Alberto Verga wrote
Complementing, in the notebook interface, help(sqrt) and help(diff) shows
the help for the functions in a new tab, but help(exp), help(cos) and
help(sin) opens a new tab, but shows only the name of the function, not the
help.
On Sunday, April 28, 2013 5:57:54 PM UTC-3, João Alberto Ferreira
Thank you for the reply! I took note and I will use the show_identifiers()
function whenever necessary, as the it seems more useful than the who
command.
João Alberto Ferreira.
On Wednesday, April 24, 2013 10:36:45 PM UTC-3, William wrote:
Hi,
I've never heard of this who function
Alberto Ferreira.
-
~$ uname -a
Linux Hades 3.2.0-40-generic #64-Ubuntu SMP Mon Mar 25 21:22:26 UTC 2013 i686
athlon i386 GNU/Linux
sage: version()
'Sage Version 5.8, Release Date: 2013-03-15'
--
You received this message because you are subscribed to the Google Groups
sage-support group
a new one.
On Tuesday, April 23, 2013 10:34:15 PM UTC+1, João Alberto Ferreira wrote:
Hi!
I was executing the examples of the Sage Beginner's Guide book when I
found a curious behavior in Sage.
Whenever I launch Sage and define the variable
sage: R = 250e3
and issue the command
today.
Christophe.
2012/10/16 Alberto Fernandez alb...@gmail.com
Hi
Since yesterday we are trying to work with sage on the www.sagenb.org
server and don´t performs calculations. Is this server down? Are our
PC´s wrong?
To be more precise, I just see a blank window when I actually
Hi
Since yesterday we are trying to work with sage on the www.sagenb.org server
and don´t performs calculations. Is this server down? Are our PC´s wrong?
Thanks
--
You received this message because you are subscribed to the Google Groups
sage-support group.
To post to this group, send email
2.5.1 for sure that work. I has using 2.5.2 (that works fine with sage
3.2.2) but it seems to keep sage 3.4.1 in a continuous loop when
entering notebook option.
Have you check if during instalation the authorizations to wmware
networks adapters in the windows firewall?
On May 13, 9:18 pm,
of the questions that comes up on the Mathematica
user list.
Is there any way you could give the setup for the problem at an
earlier stage in your computations? I think it might be easier for a
human to understand if he/she could see how you arrived at k0.
On Aug 29, 6:33 pm, Alberto [EMAIL
simulations for 1000 values of the parameters that go in k0 and in all
cases k00. Is my problem then that I am expecting too much of
bool?)
Thanks!
Alberto
ps-- here's the root i'm evaluating, k0:
(-sqrt(3)*I/2 - 1/2)*(sqrt(4*(4*(2*(2*tl - 2*beta + 1)*(2*tr + 2*beta
+
1) + 4*(2*beta + 1)*tr + 4*(1 - 2
66 matches
Mail list logo