MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: output forms


HoldForm[ d = a + b*c] /. {a -> 1, b -> 2, c -> 3}

HoldForm[ d = a + b*c] /. Thread[{a, b, c} -> Range[3]]


Bob Hanlon

---- klkj fukyfl <kitas11 at yahoo.com> wrote: 

=============
Hello, I need Matheamtica to do the following:

in:

a=1;
b=2;
c=3;
d=a+b*c

out: 

d=1+2*3
and so on...

previously I was using another system, but I found that this kind of stuff is impossible

Can this be performed on Mathematica?





  • Prev by Date: Re: String Deletion
  • Next by Date: Re: output forms
  • Previous by thread: Re: output forms
  • Next by thread: Re: output forms