Re: Why doesn't it work?
- To: mathgroup at smc.vnet.net
- Subject: [mg38463] Re: Why doesn't it work?
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Wed, 18 Dec 2002 01:53:49 -0500 (EST)
- References: <atjv36$ls4$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Konrad Den Ende" <konrad at voxway.com> wrote in message news:atjv36$ls4$1 at smc.vnet.net... > When i go: > > f1[x_] := something > tmp = int(f1[x])dx > f2[x_] = tmp > > then everything is nice but this: > > f1[x_] := something > tmp = int(f1[x])dx > f2[x_] = % > > just won't work. Apparetly Mathematica believes > that "%" mean the thing i did BEFORE the integral! > How come? > > -- > > Vänligen > Konrad > ------------------- > phone #1: (+46/0) 708 - 70 73 92 > phone #2: (+46/0) 704 - 79 96 95 > url: http://konrads.webbsida.com > e-mail: konrad at voxway.com > ------------------- Konrad, It works correctly for me: f1[x_]:=something tmp=Integrate[Sin[x],x] f2[x_]=% -Cos[x] -Cos[x] Please send the cell expression : click in the cell, then use menu>Format>Show Expression. Allan --------------------- Allan Hayes Mathematica Training and Consulting Leicester UK www.haystack.demon.co.uk hay at haystack.demon.co.uk Voice: +44 (0)116 271 4198 Fax: +44 (0)870 164 0565