Re: unevaluated expression
- To: mathgroup at smc.vnet.net
- Subject: [mg77180] Re: unevaluated expression
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 5 Jun 2007 06:45:11 -0400 (EDT)
- Organization: Uni Leipzig
- References: <f40gan$628$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
Hi, example[f_] := HoldForm[int[f, x]] == Integrate[f, x] /. int -> Integrate ?? Regards Jens juliok at verizon.net wrote: > How do you write a function such as > example[f_]:= ...... > > so that when entering example[#^2] Mathematica will respond with > > integral_symbol x^2 dx = x^3 /3 > > where integral_symbol is the standard math symbol, exponents are > superscripts, etc. I tried Hold[], Unevaluated[], nothing seems to > work. > > Thanks > > > Julio > >