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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! 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

Top Tags