Re: [sage-support] integrating sin(t)/t

2020-09-29 Thread Dima Pasechnik
On Mon, Sep 28, 2020 at 9:03 PM Fernando Q. Gouvea wrote: > > I am trying to see how to do a standard calculus exercise in Sage. I want a > power series for the integral of sin(x)/x. I tried: > > sage: var('t') > t > sage: assume(x>0) > sage: f(x)=integrate(sin(t)/t,t,0,x) > sage: f > x |--> sin_

Re: [sage-support] integrating sin(t)/t

2020-09-28 Thread David Lowry-Duda
On Mon, Sep 28, 2020 at 04:03:48PM -0400, Fernando Q. Gouvea wrote: > I am trying to see how to do a standard calculus exercise in Sage. I want a > power series for the integral of sin(x)/x. I tried: > > sage: var('t') > t > sage: assume(x>0) > sage: f(x)=integrate(sin(t)/t,t,0,x) > sage: f > x |-