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

Why the variable remains undefined?

RWickrama
6-Contributor

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 3

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

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.

Something like this?

Pic_1.png

Announcements

Top Tags