function
- To: mathgroup at yoda.physics.unc.edu
- Subject: function
- From: kline!bob at blink.att.com
- Date: Fri, 23 Oct 92 23:24:43 EDT
A question about forming functions. Suppose I create a series, using
a=Normal[Series[Sin[x],{x,0,5}]]
giving a = x - x^3/3! + x^5/5!.
I now want to use a to create a function of x, which, functionally,
is
f[x_]:=a.
This will not work in practice. Is there a way to do this? For
something short, as in this example, I could just as well type
the expression
f[x_]:= x - x^3/3! + x^5/5!
and everything would work fine.
What procedure would allow me to create the series and convert it
to a function of the variable?
-r. kline
rvk at blink.att.com