SURVO MM Help System (web edition)

Sums products and maxima of expressions of one or more variables
can be computed by the 'for' statement in editorial computing.
The general structure is
   <variable>=for(I=N1)to(N2)<sum|product|max|maxt>(<expression>)
or
   <variable>=for(I=N1)to(N2)term(T=A)<sum|product|max|maxt>(<expression>)

Examples:
s=for(i=1)to(100)sum(i)  s=5050
sum(N):=for(I=1)to(N)sum(1/I/I)  sqrt(6*sum(3000))=3.1412743806
factorial(N):=for(I=1)to(N)product(I)  factorial(10)=3628800
expn(X,N):=for(I=1)to(N)term(T=1)sum(T*X/I)
           N terms from the serial expansion of exp(X)-1.


  E = More information on editorial computing 


More information on Survo from www.survo.fi
Copyright © Survo Systems 2001-2012.
webmaster'at'survo.fi