ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Fri, 06 Nov 2020 23:25:37 +0100reposition interact slider and avoid division by zerohttps://ask.sagemath.org/question/54140/reposition-interact-slider-and-avoid-division-by-zero/Can I reposition the interact slider for a plot? It often goes above the viewport and if I scroll the viewport to see the slider I cut off the lower part of the function.
Also, some plots, at a certain point, end up with division by zero. I get an error message at that point in the slider, but you can slide past that. Still, is there a way to avoid the one point where I divide by zero in a plotting statement? I tried "assume" but I apparently don't quite know how it works and the docs I found so far are inscrutable. cybervigilanteFri, 06 Nov 2020 23:25:37 +0100https://ask.sagemath.org/question/54140/Any way to detect division by zero?https://ask.sagemath.org/question/7800/any-way-to-detect-division-by-zero/In Sage, is there any way (function call) to check whether a given expression will produce division by zero error. Is something like the following possible?
if IsDivisionByZero(expr):
return False
ShuWed, 08 Dec 2010 19:02:45 +0100https://ask.sagemath.org/question/7800/