Suppose I defined some variables via
\def\n1{some_value_1}
\def\n2{some_value_2}
\def\n3{some_value_3}
and I'd like to have another one, say, \f which is a function of \n1, \n2 and \n3.
This simple code doesn't work:
\def\f{\n1*log(\n2)-\n3}
P.S. This is going to be used in plotting functions via PsTricks (if it helps).
UPDATE:
For example (\f is used in \psplot for x_max):
\def\f{\n1*log(\n2)-\n3}
\psplot{0}{\f}{sin(x)}


