Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
I'm rather frequently get stuck with Mathcad 14 claiming that a variable is not defined- but its not a variable but a function at the left side of a find statement,
The solve block indeed works pretty well with a vector on the left side of the find statement.
I have the impression that copying into a new sheet sometimes helps. I think this is an error by design.
any help is highly apreciated
thanks
Tracing and troubleshooting errors in Mathcad has long been an art form; like Microsoft's, the error messages only rarely point to the actual problem. (Believe it or not, things have actually improved since early days!)
Soldier on!
(Believe it or not, things have actually improved since early days!)
Still not up to scratch though Fred!!!!!
Mike
The solve block indeed works pretty well with a vector on the left side of the find statement.
I have the impression that copying into a new sheet sometimes helps. I think this is an error by
I find copying the equation side of the solve block and checking the units helps. Also, by copy/pasting somewhere outside the solve block you should find the undefined variables.
Mike
once I thought Umlaute is the problem, then all Variables and Functions have to be included in the solvefunction, but neither helps- attached the proof that it works with the vector asignement...
Unfortunately there is not much I can do with a *.pdf. Can you not post the worksheet?
Mike
It's difficult to tell from your pdf but sollve blocks require one given (Vorgabe) and one Find (Suchen), a second find without a second given doesn't work.
Attached is a mathcad file and two pdf's pf that file, one with a solve block function and one as a single block.
Gerfried Cebrat wrote:
...I have the impression that copying into a new sheet sometimes helps. I think this is an error by design...
Could you give an example (Mathcad worksheet)?
I was now trying the same thing with ODE solve and think it works. The problem in my previous attempt was an integral which had been evaluated numerically for the standard solve block and failed when using a function to solve for different parameters, at least that is my impression. Mathcad evaluates the parameters diferently.
I'm sorry Gerfried, the help your going to receive will be limited if you do not provide a Mathcad worksheet.
Mike
A Given/Odesolve (Vorgabe/Gdglosen) block will return a function, your T_R is a function of y for the values of I,alpha, and t that you had in the DGL_T() finction that defined T_R(y). You can now have the solutions of different cases by adding different values:
T_R2 := DGL_T(I2,a2,t2) where T_R2 is actually a function T_R2(y)
T_R3 := DGL_T(I3,a3,t3)
etc.
The solution provided by Andy in another forum was to remove the units in the variables in the find expression of the solve block - for example t.l/K.
thanks to all for your endeavour
I'm sorry, I have to say that the removal of the units in the find statemnet results in wrong solving!
So back to the start! The behavior of Mathcad s so strange that I insist that it is buggy.
This is an old thread, but a common error I've seen is if you have open solve blocks it will confuse things.
For example:
Define your variables
"Given"
"Given"
Equation
Find(x) -> 'variable not define'