I would like to get the expression of a function after differentiation with respect to a variable.
Somehow Mathcad does not recognize the variable and tells that the variable is undefined.
it leads to make it impossible to find the derivative.
numerically, the calculation is correct.
It is just this symbolic feature that are having problem.
I appreciate any suggestion.
The red circle is one problem, but it shouldn't stop you from getting symbolic derivative:
The first is the cleaner version.
In the latter case you will get an error by the numerics because n is not defined, but the symbolic evaluations should work nonetheless.
I can fix some errors and understand a little bit how to deal with functions and labels.
But I still have more doubts about labels.
In the picture below, Rpu in the denominator in the last equation is labeled as variable, but it still has some errors.
If I copy only the equation into a new sheet/ new file,it works most of the time.
If I copy the equation with other equation before it (the ones at the top), the same problem happens.
I don't see any errors in your sheet or your file.
Your problem seems not to be one of labeling but that you don't understand, that you have to provide arguments when you are using a function.
If you just use the function name without the correct number of arguments. Mathcad will just tell you that is a function.
I thought I should not put n.
it works now.
one question, could you tell me what "function" in the result means?
The problem is the inline evaluation (the last equal sign) when you define your functions.