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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

RE: "Unitless" Argument Type Error Using "Re()" Command

aroberts
7-Bedrock

RE: "Unitless" Argument Type Error Using "Re()" Command

Mathcad 15 returns a "This value must be a function, but has the form: Unitless" error with any type of argument I try calculating the real component of. I am using Mathcad 15 and I have units turned off. The "Im()" command works fine though. I am trying to compute the real part of a function's values ( Re(func(f))) ) but I continually get this error. As a sanity check I tried it using real and complex numbers but it does the same thing (however Im does not). As if that weren't weird enough, the "Re()" command works fine in another worksheet and I can have both open simultaneously.

2 REPLIES 2
RichardJ
19-Tanzanite
(To:aroberts)

the "Re()" command works fine in another worksheet

Since it's clearly a worksheet specific problem, we need to see the worksheet. Please post it (in the edit dialog, click on "Use Advanced Editor" at the top right).

Thanks but I figured it out. I'm a dope and defined a variable as "Re" and that screwed things up. I renamed the variable and that corrected everything.

Top Tags