say I have a function, for example f(x)=x^3+2x. I want to know how take an arbitrary function like this, and for each x value supstitute , the expontential function in h. I then want to expand this newly represneted function as a power series in h, as each will equal 1+h+h^2/2+h^3/3+….
Now, I understand it will have an infinite amount of terms, so if there was a way I could pick an integer (say m) such that it only calculates this power series up to the h^m term I think that would be awesome
This is quite a big endevor for me, as I have no programming experience. Could somebody show me how to write this script?? Thank you so much I really appreciate it
Best Answer