On 24 pro, 07:10, Ben Woodruff <bmwoodr...@gmail.com> wrote:
> Hi all. This is my first post to the discussions groups I've been
> following for the last 4 months.  I used Sage in my first semester
> calculus class this last semester, and plan to move every class I can
> over to Sage during the next few years.  Giving the students something
> they can use anywhere they go without forking over thousands of
> dollars has a huge advantage.  As such, I'm going to start doing a
> better job of posting errors when they arise and I can't figure out
> how to resolve them.
>
> Here is the issue.  When I evaluate
>
> sage: var('t')
> sage: integrate(sec(t)*tan(t),t,0,pi/3)
>
> I get the error message
>
> >Traceback (click to the left for traceback)
> >...
> >Is  cos(t)  positive, negative, or zero?
>

Hi Ben

this message is from Maxima. When evaluating integral from 0 to pi/3,
Maxima does not assume automatically 0<t<pi/3
(not sure if thas has been fixed in some recent versions).

Indefinite integral is evaluated via another apporach and this is the
explanation for the fact that the way based on values of primitive
functions works.


> I can get the correct solution of 1 by executing
>
> sage: var('t')
> sage: F(t)=integrate(sec(t)*tan(t),t)
> sage: F(pi/3)-F(0)
>


> Could this be related tohttp://trac.sagemath.org/sage_trac/ticket/6956

No, this is no related.

Happy christmas!
Robert

-- 
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
URL: http://www.sagemath.org

Reply via email to