Quantcast
Channel: ASKSAGE: Sage Q&A Forum - RSS feed
Browsing latest articles
Browse All 5 View Live

Comment by ebs for As for the AttributeError, that's happening because the...

it works so well! thanks:)

View Article


Answer by DSM for Hello, I want to create an animation of...

As for the AttributeError, that's happening because the range function returns Python ints and the function expects Sage Integers. They're slightly different types, with different behaviour; usually in...

View Article


Comment by DSM for when I type your code into sage, I get this error. how do...

Ah, sorry! I forgot that I'd redefined "n" as a variable; I've corrected the original. By the way, if you're replying to an answer, usually we enter it using the "post a comment" button.

View Article

Answer by ebs for Hello, I want to create an animation of...

when I type your code into sage, I get this error. how do I fix this? ** Traceback (click to the left of this block for traceback) ... TypeError: unsupported operand parent(s) for '-': '' and 'Integer...

View Article

creating a fourier series animation

Hello, I want to create an animation of sum((-1)^(n-1)*sin(n*x)/n,n,1 , k) and show that as the number of terms 'k' in the partial sums increase, the sum converges to x/2 i.e looks more and more like...

View Article

Browsing latest articles
Browse All 5 View Live