Skip to main content
10-Marble
Question

Why the variable remains undefined?

I defined a user-defined function: However the variable after the equal remain undefined.

Undefined.PNG

Already I created similar functions. But, this one is giving me a hard time. Could someone help me please.

MathCAD Prime 4.0

3 replies

24-Ruby IV

Do not use = operatorat the end of a function creating!

Translate
23-Emerald I

If you define w and AB above your function it will evaluate using those value.  As Val demonstrated, using the function with other values will evaluate with those values.

Translate
24-Ruby IV

Something like this?

Pic_1.png

Translate