INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Working with Matrices in MathCad

Working with Matrices in MathCad

(OP)
Hi,

Hoping someone here can help..

I have a equation, say: P=(q*t^a)/S

I want to vary P with t and I would like to populate the first column of an array with t values, say 1..75 (range variable) and then populate the second column with P assuming q, a and S are static. Then I would want to find the time, t at which the pressure, p fell below a certain value.

How do I do this? I can find plenty on how to mess about with an array (transposition, etc.) but not much on how to work with one with equations.

Thanks,

James

Simmantix
---------
Phases of a Project:
Exultation, Disenchantment, Search for the Guilty, Punishment of the Innocent, Praise for the Uninvolved...

RE: Working with Matrices in MathCad

(OP)
Thankyou, succinct and to the point..

Simmantix
---------
Phases of a Project:
Exultation, Disenchantment, Search for the Guilty, Punishment of the Innocent, Praise for the Uninvolved...

RE: Working with Matrices in MathCad

(OP)
So.. Additionally, is it possible to fill each column of the array with different data in the same way as above. So the first column would be P1, the next P2 and so on?

Or do you have to create seperate arrays and Append them together?

Thanks, james

Simmantix
---------
Phases of a Project:
Exultation, Disenchantment, Search for the Guilty, Punishment of the Innocent, Praise for the Uninvolved...

RE: Working with Matrices in MathCad

?? As written above, P is a single column array of 76 values.

Recent versions of Mathcad will not allow you to mix units within a matrix, so you would have a single column array t, consisting of 76 values, and a column array P, consisting of 76 corresponding values. You can stick everything in a two-column array if you are willing to divide out the units, but units are what Mathcad excels at.

TTFN
FAQ731-376: Eng-Tips.com Forum Policies

Need help writing a question or understanding a reply? forum1529: Translation Assistance for Engineers

RE: Working with Matrices in MathCad

(OP)
Fair enough but if I wanted an array of partial pressures, same units then how would I populate the second column?

Simmantix
---------
Phases of a Project:
Exultation, Disenchantment, Search for the Guilty, Punishment of the Innocent, Praise for the Uninvolved...

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close