Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6250 > unrolled thread
| Started by | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| First post | 2011-11-07 10:59 +0000 |
| Last post | 2011-11-07 10:59 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Series expansion question Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2011-11-07 10:59 +0000
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Date | 2011-11-07 10:59 +0000 |
| Subject | Re: Series expansion question |
| Message-ID | <j98dmd$3ri$1@smc.vnet.net> |
This:
Clear[gts];
gts[x_, y_] := Normal[Series[g[x, y], {x, x0, 1}, {y, y0, 1}]];
gts[x, y] /. {x -> x0 + z, y -> y0 + z}
may help. Try. Have fun.
I defined a function:
gts[x_, y_] := Normal[Series[g[x, y], {x, x0, 1}, {y, y0, 1}]]
and when I use it with 'a' and 'b' undefined, I get the value I expect:
gts[a, b]
g[x0,y0] + (a-x0) g^(1,0)[x0,y0] + (b-y0) g^(0,1)[x0,y0] ...
However when I assign values to a and b:
a = x0 + z
b = y0 + z
gts[a,b]
gives me an error:
General::ivar: "x0+z is not a valid variable"
etc.
I would appreciate any help to fix this.
Thanks.
Recif
Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG
Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44
e-mail: alexei.boulbitch@iee.lu<mailto:alexei.boulbitch@iee.lu>
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web