[sage-support] Re: Getting a Symbolic version of a Sum

2016-01-18 Thread Dima Pasechnik
On Tuesday, 19 January 2016 07:56:11 UTC, Dima Pasechnik wrote: > > In Sage sum() is by default symbolic summation, here it just gives the > answer in terms of the Bessel function rather than sin. > It is a correct answer, too. > (see e.g. (72) in https://books.google.co.uk/books?id=9nFDvk9yr3

[sage-support] Re: Getting a Symbolic version of a Sum

2016-01-18 Thread Dima Pasechnik
In Sage sum() is by default symbolic summation, here it just gives the answer in terms of the Bessel function rather than sin. It is a correct answer, too. Probably the underlying engine (maxima) does not know how to simplify this further. On Tuesday, 19 January 2016 02:35:59 UTC, saad khalid

[sage-support] Getting a Symbolic version of a Sum

2016-01-18 Thread saad khalid
Hello everyone: I'm trying to compare some functionality in Sage with that of Mathematica. For my assignment, I have to take this series: sum((-1)^n*((x)^(2*n+1))/factorial(2*n+1),n,0,oo) And put it into a mathematical software to see what function it is equivalent to. In this case, this seri

Re: [sage-support] sagenb /sage -n=jupyter

2016-01-18 Thread William Stein
On Mon, Jan 18, 2016 at 8:40 AM, HG wrote: > Hi, > I can't get no maplotlib graphic inline , is it possible to do it ? > %display latex > %matplotlib inline > import matplotlib.pyplot as plt > import numpy as np > x=np.linspace(-5,5,100) > plt.plot(x,np.sin(x)) # on utilise la fonction sinus de N

Re: [sage-support] Documentation for function

2016-01-18 Thread William Stein
On Mon, Jan 18, 2016 at 9:42 AM, saad khalid wrote: > Hello! > > I was having a bit of trouble. I was trying to view the documentation for > the exact_rational() command, however nothing I seemed to do worked. I tried > doing "exact_rational()?", "exact_rational?", etc. How exactly can I go > abou

[sage-support] Documentation for function

2016-01-18 Thread saad khalid
Hello! I was having a bit of trouble. I was trying to view the documentation for the exact_rational() command, however nothing I seemed to do worked. I tried doing "exact_rational()?", "exact_rational?", etc. How exactly can I go about viewing its documentation? I'm running this in SMC. -Saad

[sage-support] sagenb /sage -n=jupyter

2016-01-18 Thread HG
Hi, I can't get no maplotlib graphic inline , is it possible to do it ? %display latex %matplotlib inline import matplotlib.pyplot as plt import numpy as np x=np.linspace(-5,5,100) plt.plot(x,np.sin(x)) # on utilise la fonction sinus de Numpy plt.ylabel('fonction sinus') plt.xlabel("l'axe des abci