Reputation: 10604
Trying the following:
t = var('t')
f = t * cos(pi / t)
g = sqrt(1 + f.diff())
show(g.integral(t))
returns 0. This seems unexpected -- I am not expecting a closed-form result for this, but it seems like it is definitely not 0.
Is this a sagemath bug, or is my question incorrect?
Upvotes: 1
Views: 78
Reputation: 1696
I indeed get 0 with Sage 8.6 and 8.7, but I get integrate(sqrt(pi*sin(pi/t)/t + cos(pi/t) + 1), t)
with Sage 8.8. So I guess it was a bug which has now been fixed, although I haven't tried finding the ticket dealing with it.
Upvotes: 2