How to plot complex vectors in Mathcad? (Electrical)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 8K views
EVriderDK
Messages
55
Reaction score
0

Homework Statement



I have to plot the following complex numbers into the complex plane:
X_C=0-1350i
X_L=0+980i
R_L=100+0i
 
Physics news on Phys.org
Thank you! How do i make them vectors on the graph? You know, a line with an arrow.
 
It is like the "line" traces does not work?

I need to tell mathcad that i want a line from 0,0 to X.C
 
EVriderDK said:
It is like the "line" traces does not work?

I need to tell mathcad that i want a line from 0,0 to X.C

Mathcad plots require that you specify all of the points on a line trace; it doesn't default to the origin. Consequently, you have to convert each of your complex numbers to a vector (with 0 as the first element) and then plot those vectors. Alternatively, you could create a function that takes a complex number, take the real or imaginary part and stacks it with zero - then plot the result directly.

See the attached worksheet for an example. It also shows how to use Mathcad's Math Style feature.
 

Attachments

  • Like
Likes   Reactions: hotrod89
Wow, thank you so much Nemo!