Lush Programming language is object-oriented programming language which is designed for research,experiments and engineering in numerical application and graphical application.
? ;; compute the n-th term of the harmonic series ? (de harmonic (n) (let* ((z 0) (i 0)) (while (< i n) (incr i) (incr z (/ i))))) = harmonic ? (harmonic 10) = 2.929 ? (printf "%18.14f\n" (harmonic 10)) 2.92896825396825 = ()