Which programming language or a library can process Infinite Series?

后端 未结 13 1453
情书的邮戳
情书的邮戳 2021-02-03 23:46

Which programming language or a library is able to process infinite series (like geometric or harmonic)? It perhaps must have a database of some well-known series and automatica

13条回答
  •  南笙
    南笙 (楼主)
    2021-02-03 23:52

    You can solve the series problem in Sage (a free Python-based math software system) exactly as follows:

    sage: k = var('k'); sum((-1)^k/(2*k+1), k, 1, infinity)
    1/4*pi - 1
    

    Behind the scenes, this is really using Maxima (a component of Sage).

提交回复
热议问题