Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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.
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?
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?
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.
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.