Skip to main content
17-Peridot
September 14, 2015
Solved

Find Definition Problem

  • September 14, 2015
  • 1 reply
  • 1046 views

hello Folks,

the first MC15 sheet (find_1) has a solve-block which doesn't compute. The second (find_2), with a slightly different definition, however does. Can anybody explain why this is the case?

Tanks in advance

Raiko

Best answer by Werner_E

Mathcad is complaining that f(x) (and g(x)) ist not defined and thats true. How could the algorithm play around with x so that f(x)=x^2 or  f(x)=h(x), when it cannot evaluate f(x)?

You have to define your functions using the definition operator ":=", not the boolean "=".

And normally you would do this outside of the solve block.

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
September 14, 2015

Mathcad is complaining that f(x) (and g(x)) ist not defined and thats true. How could the algorithm play around with x so that f(x)=x^2 or  f(x)=h(x), when it cannot evaluate f(x)?

You have to define your functions using the definition operator ":=", not the boolean "=".

And normally you would do this outside of the solve block.

Raiko17-PeridotAuthor
17-Peridot
September 14, 2015

Thank you Werner.

I knew that it had to be my fault 😉

Raiko