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

Why the variable remains undefined?

RWickrama
5-Regular Member

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.

VladimirN
23-Emerald III
(To:RWickrama)

Something like this?

Pic_1.png

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."