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

2014-10-06 Thread NahsiN
Yes Vincent, that sounds much better, Cheers, Nishan On Saturday, 4 October 2014 05:21:15 UTC-4, vdelecroix wrote: Hello, Is it better worded as follows? The issue: plot(h(x), 0, 4) plots the line y=x−2, not the multi-line function defined by h. The reason? In the command plot(h(x), 0,

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

2014-10-06 Thread Vincent Delecroix
Dear Nishan, I created a ticket for that, you can have a look at: http://trac.sagemath.org/ticket/17107 Hopefully, this will be corrected in the next release of Sage. Thanks for the report! Vincent 2014-10-06 20:53 UTC+02:00, NahsiN nishan.singh.m...@gmail.com: Yes Vincent, that sounds much

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

2014-10-04 Thread Vincent Delecroix
Hello, Is it better worded as follows? The issue: plot(h(x), 0, 4) plots the line y=x−2, not the multi-line function defined by h. The reason? In the command plot(h(x), 0, 4), first h(x) is evaluated: this means plugging the symbolic variable x into the function h. The inequality x 2 evaluates

[sage-support] Re: Typo in provided documentation

2014-10-02 Thread 'luisfe' via sage-support
It looks right to me. I am not a native English speaker so I could be (very) wrong, but I understand that the comparison x2 is evaluated, which is completely true, independently if the condition is evaluated as True or False. In fact, next lines tell why x2 is evaluated False and that h(x)

[sage-support] Re: Typo in provided documentation

2014-10-02 Thread slelievre
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 Tour Some Common Issues with Functions we have the lines def h(x): if

[sage-support] Re: Typo in provided documentation

2014-10-02 Thread NahsiN
@slelievre I was just pointing out what I think is a typo. @slelievre You are right, the clause after the statement clarifies the situation. When a symbolic equation is evaluated, as in the definition of h, if it is not obviously true, then it returns False. Thus h(x) evaluates to x-2, and this