solving two nonlinear multivariate equations
2 次查看(过去 30 天)
显示 更早的评论
I will be so pleased if someone helps me solve these two equations to find approximate values of "p" and "q"
p.^2 .*(1-q).*(2.*q.*(1-p.^2)).^(2.*p) -2.*(1-p).*(1-q.*(1-p)).*(p+q.*(1-p))=0
((p+2.*q-2.*p.*q).*log2((p+(1-p).*q).*(1-q.*(1-p)))+(1-2.*q).*(1-p).*log2((1-q).*(1-p).*(q.*(1-p.^2)).^(1+p))-log2((1-q+p.*q)^2)+((1-p.^2).^2)+(1-q).*(-1+p))=0
Note: There is a constraint that both variables must be limited to interval of [0,1]
Thanks in advance!
0 个评论
回答(1 个)
Matt J
2013-9-21
Sorry, my previous answer was wrong. There are no solutions to your equations. In a previous post, it was shown to you that the first equation can be satisfied only by p=0 or p=1. Further, when p=0, only q=0 or q=1 are solutions.
When p=1, the expression
log2((1-q).*(1-p).*(q.*(1-p.^2)).^(1+p))
in the second equation is undefined, so p=1 is eliminated as a possibility.
When p=0, the expression
log2((p+(1-p).*q).*(1-q.*(1-p)))
in the second equation is undefined whenever q=0 or q=1, which are the only possibilities that satisfy the first equation.
So, no solutions.... :-(
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Systems of Nonlinear Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!