Hello Hector, limit(sin(x),x,oo) means sin(x) evaluated, as x approaches to infinity from default positive side. It is an oscillatory limit, equal to k and not k/oo, where k can be anything in [-1,1]. The answer should be Nan, and not an error, as then, sympy would be more robust, and users will be able to use the math.isnan() function to check if a limit is defined or undefined.
Regards, Sherjil On Fri, Mar 18, 2011 at 2:34 PM, Hector <hector1...@gmail.com> wrote: > > > On Fri, Mar 18, 2011 at 4:57 AM, Aaron S. Meurer <asmeu...@gmail.com>wrote: > >> For issue 2200, we didn't decide if limit(sin(x), x, oo) should raise an >> error or should return nan (or something else). >> > > Hello everyone, > > Hi Aaron, I was wondering why limit(sin(x),x,oo) should have any other > value than 0 ? > Is it not equal to k/oo where k is some finite number in [-1,1], which > clearly tends to zero ? > Please tell me is there any flow in my thinking or if I am missing > something or is it because something related to SymPy. > > > >> Aaron Meurer >> >> On Mar 17, 2011, at 1:25 PM, Chris Smith wrote: >> >> > SherjilOzair wrote: >> >> Mr. Ronan, >> >> You've been a great help. Please help me start up my suggesting me a >> >> small project or patch. >> >> I would be very grateful. >> >> >> > Issue 2180, 2198 or 2200. >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "sympy" group. >> > To post to this group, send email to sympy@googlegroups.com. >> > To unsubscribe from this group, send email to >> sympy+unsubscr...@googlegroups.com. >> > For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To post to this group, send email to sympy@googlegroups.com. >> To unsubscribe from this group, send email to >> sympy+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/sympy?hl=en. >> >> > > > -- > -Regards > Hector > > Whenever you think you can or you can't, in either way you are right. > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To post to this group, send email to sympy@googlegroups.com. > To unsubscribe from this group, send email to > sympy+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sympy?hl=en. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.