Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Solve and Matrix Question

Status
Not open for further replies.

TASCT

Mechanical
Dec 3, 2008
14
I would like to use Mathcad to solve a second order polynomial; I would then like the assign that solution vector to a variable to be used again later for computation purposes. Any help would be appreciated.

 
Replies continue below

Recommended for you

The actual worksheet would be more useful than a picture of only part of it

TTFN

FAQ731-376
 
Is there any reason you need to do a symbolic solution?

You could use Given-Find or Root, but in both cases, you would need to limit the domain of the independent variable to get the root that you want.

You could just copy either of symbolic solutions and paste the solution into an assignment statement.

TTFN

FAQ731-376
 
I would like to use the result of the solve for a later calculation, I know I could just copy and paste the result, but I would like to set it up so that I/or whomever comes after me, never has to do that again.

The solution returns two roots to the quadratic equation, only one of which is useful.

@Occupant, is there a way to specifically call the second entry in the Pcr_curv matrix?
 
If you use Given-Find, your choice of the guess value will drive the solution to whichever one of the solutions is closest to the guess value.

If you use root, your specification of the limits of the domain of Pcr_curv will dictate which solution is generated.

See attached:

TTFN

FAQ731-376
 
@Occupant, is there a way to specifically call the second entry in the Pcr_curv matrix?

Yes, of course. It would be Pcr_curv[0,1 =
 
Thank you all for your help, I am new to Mathcad, so this is something new I am learning, were it matlab, I could do it in a heartbeat, but alas Mathcad it is. Again thank you for all your input.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor