different display methods give different results

asked 2022-05-18 22:00:15 +0100

mahmood gravatar image

when evaluating the following code we get 2 different results even tho the same expressions are being evaluated:

  %display plain
  k,n = var('k,n')
  s = n/2 * sum(3/(n+k)^2, k, 1, n)
  s.limit(n=Infinity)
  %display unicode_art
  k,n = var('k,n')
  s = n/2 * sum(3/(n+k)^2, k, 1, n)
  s.limit(n=Infinity)

whats going on here? why the inconsistency?

edit retag flag offensive close merge delete