The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Infinite sum wrong result. Bug in Giac?
12-29-2014, 01:55 AM
Post: #1
Infinite sum wrong result. Bug in Giac?
Hi all,

I was reading this bug report for the 50g http://bugs.hpcalc.org/show_bug.cgi?id=238 and entered the same sum into the Prime for testing:

sum from k=1 to infinity (((1+i)/2)^k)

the Prime gives me 0 as the result.

CAS mode, Settings: Exact on, Complex off (turning it on doesn't change the result), Use sqrt on, Use i on.

I can also reproduce this in Giac/Xcas:
`sum(((1+i)/2)^k, k=1...+infinity)`
gives me 0 as well.

In contrast, WolframAlpha says the result is i
http://www.wolframalpha.com/input/?i=sum...o+infinity

Trying a few finite upper boundaries on the Prime suggests that Wolfram Alpha is correct, and Giac/Prime are wrong.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Infinite sum wrong result. Bug in Giac? - danielmewes - 12-29-2014 01:55 AM



User(s) browsing this thread: 2 Guest(s)