Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #5057

Re: output forms

From "Harvey P. Dale" <hpd1@nyu.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: output forms
Date 2011-09-18 08:23 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j549pb$6es$1@smc.vnet.net> (permalink)
References <201109171026.GAA26018@smc.vnet.net>

Show all headers | View raw


	For the function, use "set delayed" rather than "set" and
include the variables.  For example, d[x_,y_,z_]:=x+y+z.  Then =
d[1,2,3]
will give you 6, or -- if you have assigned ("set") a, b, and c to 1, 2,
and 3 --  d[a,b,c] will also give you 6.

	Best,

	Harvey


-----Original Message-----
From: klkj fukyfl [mailto:kitas11@yahoo.com]
Sent: Saturday, September 17, 2011 6:26 AM
Subject: output forms

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?

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: output forms "Harvey P. Dale" <hpd1@nyu.edu> - 2011-09-18 08:23 +0000

csiph-web