Skip to main content
1-Visitor
March 15, 2022
Solved

problems with variables

  • March 15, 2022
  • 1 reply
  • 2236 views

Hi folks, I'm a beginner in Mathcad. I have a problem but unfortunately I have no idea how to solve it. Can anyone help me? 

Kind regards,

Arvid

Best answer by Werner_E

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

Guess that the attached file should help.

 

1 reply

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.

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?

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.