home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast2.iso
/
calculat
/
sm30a.zip
/
EXPANDLI.SM
< prev
next >
Wrap
Text File
|
1993-11-12
|
196b
|
6 lines
# expandLi expands li(n,x) into power series.
# See also: expand, expandGa, expandExp, expandLi.
li(n_,x_) := if(n>=1, -n*li(n-1,x)+ln(x)^n*x,
if(n < -1, (-li(n+1,x)+ln(x)^(n+1)*x)/(n+1)))