How do I simplify the solution in z1?
이전 댓글 표시
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
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!