Skip to main content
1-Visitor
September 12, 2020
Solved

These units are not compatible

  • September 12, 2020
  • 2 replies
  • 2893 views

Please help. I am not sure why it is complaining about the units. Both numerator and denominator are in Ohms

zd1(s) ---> Ohms (numerator)

s*L1 ---> Ohms (denominator)

Best answer by rdliquid

Hi

 

Thanks for all the helps. Not use to vectorize a function yet but will do it from now on

 

Rdliquid

2 replies

25-Diamond I
September 12, 2020

Either delete the equal sign at the end or delete the "(s)" after T

 

You have to decide if you want define a function T() (no "=" at the end!) or if you want to define a variable T

24-Ruby IV
September 12, 2020

This is an old mistake, or rather a flaw.
Once upon a time, the developers of Mathcad created the tandem-operator ... := ... = ..., but forgot to attach it not only to variables, but also to functions. And the error messege is not correct.

tandem.png

rdliquid1-VisitorAuthor
1-Visitor
September 12, 2020

HI

 

Thanks a lot for all your helps. I deleted the "=" at the T(s) expression and it is now working. Unfortunately I have one more question, may not related to the original question.

 

I defined D(s):=|T(s)| and vectorized on top of the |T(s)|, then I evaluated the D(s) expression and it seems correct.

 

However, when I try: MAG_T(s):=[(Re(T(s))^2+(Im(T(s))^2]^0.5 returns values around 10^-54 which is a very low number and its results do not match with D(s):=|T(s)| vectorized which returns around 0.06 or so

Do you know why?

 

Please see attached file

 

Thanks for your helps again

rdliquid

24-Ruby IV
September 12, 2020

ReIm.png