home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
T.C. 1,001 Programme der Spitzenklasse
/
T._C._1001_Programme_der_Spitzenklasse.iso
/
richter
/
8547
/
8547.mhs
/
RICHTER.DTP
/
MERCURY
/
SERIES.EKA
< prev
next >
Wrap
Text File
|
1992-03-24
|
251b
|
9 lines
; Demo of infinite series.
; Approximate sum using a large finite number of terms.
approx_sum = SUM(1/(n*n),n,1,8000)
; Mercury has special logic for an infinite sum, so just do it.
infinite_sum = SUM(1/(n*n),n,1,INF)
true_limit = PI^2 / 6