Solving system of inequalities
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everyone,
I have the following set of equations:
x+y+z=1
x+y+0.5z >= 0.9,
x+y+0.5z <= 0.9,
x+y+1.5z >= 1,
x+y+1.5z <= 1,
Of course, I know how to solve it if all the >= and <= where the equal sign. How can I deal with such equations?
1 comentario
Abdusalam Alkhwaji
el 3 de Jun. de 2018
rearrange the first equation,so that x = 1-y-z,then reorganize your other 4-inequality equations. that means you will solve only the 4 eqns which do non have x. then you can evaluate x from the above eqn
Respuestas (1)
Roger Stafford
el 21 de Mayo de 2014
As they stand, your particular five conditions are equivalent to the three equations:
x+y+z=1
x+y+0.5z = 0.9,
x+y+1.5z = 1,
However there can be no solution to these equations, as can be seen if you subtract twice the first equation from the sum of the second two equations, which would result in the impossible equation
0 = (0.9+1)-2*1
1 comentario
Ver también
Categorías
Más información sobre Numerical Integration and Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!