home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
DOS
/
CALCULAT
/
SM32A
/
SERIES.SM
< prev
next >
Wrap
Text File
|
1994-03-30
|
220b
|
8 lines
# this is demo of series()
# calculate f(1), where f(x) is unknown
f'(x_) := cos(x) # knowing f'(x)
f(0) := 0 # knowing f(0)
f(x_) := eval(series(f(x),x)) # define f(x) by its series
f(1) # calculate f(1)