Dear Sage users and developers,

I am using Sage version 3.4 running on Linux/Debian. I am still not very 
familiar with Sage though. I tried to plot the following equation:

sage: var('t'); # symbolic variable
sage: var('g'); # symbolic variable
sage:  f(t) = g*(t**2-1)/(2*(t-1)) # try to simplify this function later...

Obviously the function is not defined at t=1. Returns (0/0)

sage: f(1).subs(g=9.81) # returns Division by 0

The problem comes when I try to plot the whole function f(t). By default 
the plot is between -1 and +1.

sage: fig = plot(f.subs(g=9.81)) # substitute g by 9.81 , otherwise not 
plotted
sage: show(fig)

even If I try to plot between the t=1 and t=10.

sage: show(fig,xmin=1,xmax=10)

The function is not plotted above x>1. . Is there any way to plot this 
function above xmin=1?


Thank you very much in advance for your help

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to