cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Find Definition Problem

Raiko
16-Pearl

Find Definition Problem

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

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:Raiko)

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.

View solution in original post

2 REPLIES 2
Werner_E
24-Ruby V
(To:Raiko)

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.

Raiko
16-Pearl
(To:Werner_E)

Thank you Werner.

I knew that it had to be my fault 😉

Raiko

Top Tags