That IS the right way to assign a value to a constant.
Now the question is whether it is defined in the right place....
Mathcad reads a sheet file left to right, top to bottom. Any variable you use MUST be numerically defined before it is used, otherwise the numeric processor complains (what it does now for your definition of N(s). Only the symbolic processor can handle symbols without a value assigned to them.
You define, through a symbolic definition Linear(s) to be some expression. In that expression c1, c2 and a lot more are used. At THAT moment these c1, c2 are NOT defined. And there is NO indication in the parameter list of Linear() that they should be supplied later. SO...they MUST be defined at that moment; or else, you can only do symbolic calculations with Linear().
The neat and clear way is to supply all (necessary) parameters with each of the functions Linear() Second() etc. See my post from this morning, below.
It might just work without that, if you only define N(s) as
N(s, c1, c2,....) := 1 + Linear(s) + Second(s) +... ->
(so by adding a symbolic evaluation parameter in the end.)
Success!
Luc
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

