Skip to main content
1-Visitor
April 13, 2018
Solved

Acoustic impedance Plot

  • April 13, 2018
  • 3 replies
  • 7019 views

All,

I'm trying to plot a graph of real and imaginary part of the acoustic impedance of an empty tube with a closed end.

This is the function of the Impedance and the graph I obtain:

 

 

 

 

Best answer by -MFra-

Hi, 

I used Mathcad 15 and I changed the data, to fit  to the graph you provided.

ANDREX_ITA answer.jpg

3 replies

1-Visitor
April 13, 2018

and this is what I expected:

1-Visitor
April 13, 2018

Thank you very much if everyone can help me, I'm becoming half crazy tryng to obtain something similar to what I expect.

23-Emerald IV
April 13, 2018
Attach you worksheet please. (See announcement to the right of this for instructions).
Mathcad will not plot imaginary parts of complex numbers. You need to use the Re () and Im () functions to separate the real and imaginary parts.

Success!
Luc
-MFra-21-Topaz IIAnswer
21-Topaz II
April 13, 2018

Hi, 

I used Mathcad 15 and I changed the data, to fit  to the graph you provided.

ANDREX_ITA answer.jpg

1-Visitor
April 13, 2018

Solved! Thank you very much!

I think I can't use the arg() function with the express version of prime 4.0, but at least I can plot the modulus correctly!

25-Diamond I
April 13, 2018

You are right. Re(), Im() and arg() are considered "Premium" functions and are not available in Express.

Fortunately the conjugate complex operator is not "Premium" and so you can easily define those "Premium" functions yourself in Prime Express:

Bild.png
25-Diamond I
April 13, 2018

What your picture shows is that you have plotted the magnitude |Z(omea)| over omega.

But what you ant to see ist the plot of Re(Z(omea)) and Im(Z(omea)). So simply write those expression instead of |Z(omea)|.

You can see it done in MC15 in Francescos answer above. Re() and Im() are built-in functions you can use out of the box.

Some additional remarks:

.) You have better control over the step width of omega in the plot if you define a range variable for omega

.) You may consider using units as well - thats what Mathcad and even Prime is really good at.