home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
SCIENCE
/
MRCRY209.ZIP
/
SERIES.EKA
< prev
next >
Wrap
Text File
|
1992-11-04
|
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