Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

** Community Tip** - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page.
X

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Jun 01, 2021
01:06 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jun 01, 2021
01:06 AM

Matrix with three independent parameters

I have programmed a loop calculation to obtain the minimum value of the (Pf) variable. This variable is a function of three independent parameters (i, k, and θ). To do these things I have issues as attached. Your help is deeply appreciated.

Thank you.

Labels:

3 REPLIES 3

Jun 01, 2021
03:01 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jun 01, 2021
03:01 AM

Your Tau.Thetaz[i,j,k assignment causes an error because you cannot have a three-dimensional array in Mathcad, nor in Prime. You are limited to 2-dimensional array's (matrices). But every array element can be an array itself.

The result of your program cannot, for the same reason, be stored in Pw.f[i.j.k

Then, regarding the 'minimum of Pf: Do you want the minimum of the 101 Fp values, then you better take that after the FOR loop.

And finally, you program will deliver one answer, independent of all your Pf values. It's value is 5550 psi. But as stated, it cannot be stored.

I attach the file converted to Prime6, maybe others can help you.

Success!

Luc

Jun 01, 2021
04:52 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jun 01, 2021
04:52 AM

Hi,

Is the enclosed what you are after?

Cheers

Terry

Jun 03, 2021
08:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator

Jun 03, 2021
08:05 AM

Rather than matrices, you should define functions.

Rather cumbersome in Prime Express, but you can see why functions are more versatile.