Skip to main content
Werner_E
Werner_EAnswer
25-Diamond I
March 15, 2022

You can't define a function and use inline evaluation (The = at the end)

Guess that the attached file should help.

 

5 replies

Werner_E
25-Diamond I
March 15, 2022

The error message tells you quite clearly that you have a unit mismatch.

The first summand (p(x)*LB has unit kN but the second (p(x)*x^2) has unit  kN*m.

You can't add quantities with different dimensions. So you'll have to either check your equation and make it unit consistent or, if its an empirical equation, you'll have to make it unitless.

Translate
1-Visitor
March 15, 2022

Many thanks for the quick response. Unfortunately, that's not the real problem. I made the equation unit consistent. Although I defined x as a variable above. Mathcad gives me an error message: This variable is not defined. Check that the caption is set correctly.
How do I have to define x to make it work?

Translate
Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
March 15, 2022

You can't define a function and use inline evaluation (The = at the end)

Guess that the attached file should help.

 

Translate