Re: [sage-support] Re: Typo in provided documentation

2014-10-06 Thread NahsiN
) > False > sage: h(x) > x - 2 > }}} > > I also find misleading to have a Python argument (the x in "def > h(x):") and a symbolic variable (here "x") having the same name. At > least it should be mentioned. > > Vincent > > 2014-10-0

[sage-support] Re: Typo in provided documentation

2014-10-02 Thread NahsiN
ievre wrote: > > > > Le mercredi 1 octobre 2014 22:06:50 UTC+2, NahsiN a écrit : >> >> Hello, I don't know where to post this so redirect me as needed. I >> believe I have found a typo in the sage tutorial. Under Sage Tutorial v6.3 >> >> A Guided

[sage-support] Typo in provided documentation

2014-10-01 Thread NahsiN
Hello, I don't know where to post this so redirect me as needed. I believe I have found a typo in the sage tutorial. Under Sage Tutorial v6.3 >> A Guided Tour >> Some Common Issues with Functions we have the lines def h(x): if x<2: return 0 else: return x-2 The i

Re: [sage-support] find_root attribute error in Ubuntu 14.04

2014-07-08 Thread NahsiN
y.core.numeric as NX > sage: phi = var('phi') > sage: find_root(cos(phi)==sin(phi),0,pi/2) > 0.7853981633974484 > sage: > > Maybe something is wrong with your installation? > > Regards, > Jan > > > On 8 July 2014 05:38, NahsiN > wrote: > &g

[sage-support] find_root attribute error in Ubuntu 14.04

2014-07-07 Thread NahsiN
Hello, I just downloaded the binary of Sage 6.2 for Ubuntu 14.04 64-bit. While going through the tutorial, find_root does not work. sage: phi = var('phi') sage: find_root(cos(phi)==sin(phi),0,pi/2) --- AttributeError