Solve an equation with 3 variables

I have an equation with three variables, so I will have infinite^2 solutions. Is there a way Matlab can show the solutions set given some constraints on the variables?
The equation is: G = 1.5(X-X^2) + (Y-Y^2) + 0.5(Z-Z^2) - 2*XY - Z(X+Y)/ 2N(1 - 0.75X - 0.5Y - 0.25Z),
where N & G are known and X,Y,Z lie in (0,1).
Is there any way to see the integer solutions of this equation?
Thank you very much for your help!

 Respuesta aceptada

Torsten
Torsten el 14 de Jun. de 2018

0 votos

https://de.mathworks.com/help/matlab/ref/fimplicit3.html
Best wishes
Torsten.

2 comentarios

martina testori
martina testori el 14 de Jun. de 2018
Editada: martina testori el 14 de Jun. de 2018
Thank you very much, Torsten.
Is there any way to access the values, so that I can find some numerical solutions?
Also, is there a solver for a 4 variables equations?
Torsten
Torsten el 14 de Jun. de 2018
Fix values for G,N,X and Y and use "fzero" to calculate the corresponding Z from the function
fun=@(Z) 1.5*(X-X.^2) + (Y-Y.^2) + 0.5*(Z-Z.^2) - 2*X.*Y - Z.*(X+Y)./ (2*N*(1 - 0.75*X - 0.5*Y - 0.25*Z))-G;
Best wishes
Torsten.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 14 de Jun. de 2018

Comentada:

el 14 de Jun. de 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by