Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

solve -> variable 2

Status
Not open for further replies.

mattwilmer

Mechanical
Apr 11, 2006
1
I have used mathcad to solve for the variable of an equation. The solved variable is given in an array with real and real+imaginary numbers. I would like to use just the real number solution in additional calculations but get an error when using the variable in an another equation. Please let me know what needs to be done.

Thanks for your help.

Matt

 
Replies continue below

Recommended for you

Consider convert first the complex variable values in a real values with the function Re(X+iY)=X
 
You can refer to the first element in the array by using a subscript [0

For instance, if
[tt]
| 5 |
X =: | |
| 5+j6 |

X[0 = 5

Y =: X[0

Y = 5
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor