How do I simplify the solution in z1?
Afficher commentaires plus anciens
Hello,
Trying to solve this (s is the variable and g zeta eta z ksi h ff fk ff fe and l are parameters) I get z1 in my solution whicn is in the form of RootOf. Any idea what that is or any better wway of solving this equation?
syms s g zeta eta z ksi h ff fk ff fe l
eqn_1=(1-g)*s*(((1./(4*ksi))*((zeta-eta*((s./(2*ksi+eta*s))*(zeta-(g*(1./h)+(1-g)*(1./l))))-(1./l)).^2)-ff)+((1./(4*ksi))*((zeta-eta*((1./eta)*(zeta-(1./z)-(2*ksi+eta)*((2*ksi*(zeta-(1./z))+eta*(1-g)*s*((1./l)-(1./z)))./(2*ksi*(2*ksi+eta*s+eta)+(eta.^2)*(1-g)*s))))-(1./l)).^2)-ff))+g*s*(((1./(4*ksi))*((zeta-eta*((s./(2*ksi+eta*s))*(zeta-(g*(1./h)+(1-g)*(1./l))))-(1./h)).^2)-ff)+((ksi+eta)*(((2*ksi*(zeta-(1./z))+eta*(1-g)*s*((1./l)-(1./z)))./(2*ksi*(2*ksi+eta*s+eta)+(eta.^2)*(1-g)*s)).^2)-ff-fk))-s*fe;
[sols]= solve(eqn_1 == 0, s)
Thanks in advance for your help.
Best,
Cara
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!