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
- :
- Correct use of assume?

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

03-31-2011
04:23 PM

03-31-2011
04:23 PM

Hi,

I have to solve a 3x3-matrix with 6 variables.

If i just click solve, Mathcad says that 3 of theses variables are 0.

But they must not be 0.

So I tried to use "assume,all>0" but it doesn't change the result..

Do I use assume in a uncorrect way or how can I change the result that it's not 0?

I think it should be quiet simple but I don't get it

I attached the file.

Solved! Go to Solution.

1 ACCEPTED SOLUTION

Accepted Solutions

Highlighted

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

03-31-2011
04:56 PM

03-31-2011
04:56 PM

You only have 3 equations, so you can only solve for 3 unknows, you must be missing some information.

Actually, it looks like you are solving [Ac]{v}={v}, so then {v}=[Ac]^-1{v}, so then [Ac]=[Ac]^-1, is that what you are trying to do, find values of the vairables p that make Ac equal to its' inverse?

3 REPLIES 3

Highlighted

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

03-31-2011
04:56 PM

03-31-2011
04:56 PM

You only have 3 equations, so you can only solve for 3 unknows, you must be missing some information.

Actually, it looks like you are solving [Ac]{v}={v}, so then {v}=[Ac]^-1{v}, so then [Ac]=[Ac]^-1, is that what you are trying to do, find values of the vairables p that make Ac equal to its' inverse?

Highlighted
##

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

04-01-2011
05:25 AM

04-01-2011
05:25 AM

Re: Correct use of assume?

Not quite clear what you a going for.

If you don't want p2,p4 and p6 to be set to zero (which is one of an infinite set of solutions) you could chosse to simply not solve for them. Solve for p1,p3 and p5 only (you could omit the assumption all>0) and you get p1=0.06-p2 and so on. Maybe this is what you want?

Florian Fittschen schrieb:

Hi,

I have to solve a 3x3-matrix with 6 variables.

If i just click solve, Mathcad says that 3 of theses variables are 0.

But they must not be 0.

So I tried to use "assume,all>0" but it doesn't change the result..

Do I use assume in a uncorrect way or how can I change the result that it's not 0?

I think it should be quiet simple but I don't get it

I attached the file.

Highlighted
##

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

04-01-2011
07:11 AM

04-01-2011
07:11 AM

Re: Correct use of assume?

As Wayne points out, you only have three equations, and can therefore only solve for three variables. You should assign values to the others before solving.