cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Correct use of assume?

SOLVED
Newbie

Correct use of assume?

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.

Tags (4)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Correct use of assume?

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?

View solution in original post

3 REPLIES 3
Highlighted

Re: Correct use of assume?

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?

View solution in original post

Highlighted

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

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.

Announcements