Get Help

Turn on suggestions

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

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Solving multiple equations using an array

Options

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

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

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:19 AM

09-22-2014
09:19 AM

Hi,

I'm looking for a way to solve x-mount of equations with an equal amount of solutions. However, when I try to use an array in my solve-block I don't get a solution and the amount of equations makes it extremely impractical to solve the equations without using an array.

The attached mathcad 15 document is NOT the actual problem but the array-issue is the same.

Any help will be much appreciated!

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:31 AM

09-22-2014
09:31 AM

Just leave away the vector indices and range variable i - use the vectors themselves.

In your real problem it may also be necessary to use vectorization.

7 REPLIES 7

Highlighted

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:31 AM

09-22-2014
09:31 AM

Just leave away the vector indices and range variable i - use the vectors themselves.

In your real problem it may also be necessary to use vectorization.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:31 AM

09-22-2014
09:31 AM

Re: Solving multiple equations using an array

Don't use subscripts within a solve block (and Find is ok here) - see attached.

Alan

I see Werner beat me to it!

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:32 AM

09-22-2014
09:32 AM

Re: Solving multiple equations using an array

Just get rid of the subscripts.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:40 AM

09-22-2014
09:40 AM

Re: Solving multiple equations using an array

WoW - three nearly identical answers about at the same time. Given the time stamp Alan was first and has beaten us by one minute, so why is his answer in second position?

EDIT: Now that Alam has edited his post, the time stamps are equal (to the minute).

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:46 AM

09-22-2014
09:46 AM

Re: Solving multiple equations using an array

You original time stamp was 9:31. Then both you and Alan edited you posts, which in your case bumped the time stamp to 9:32.

Anyway, I guess Søren got the answer

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
09:56 AM

09-22-2014
09:56 AM

Re: Solving multiple equations using an array

You are right, I edized my post, too (and immedeatly forgot about).

Hope it will work for Søren's actual sheet, too.

Sorry Alan for misspelling your name in my last post.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-22-2014
10:01 AM

09-22-2014
10:01 AM

Re: Solving multiple equations using an array

I was much impressed with the quickness and assumed that the top answer was given first! However, it didn't fully apply to my actual problem and I've thus created a new question with the actual expression. Maybe that'll take you more than 9 seconds to crack that one?