solving a complex equation
Ältere Kommentare anzeigen
I want to solve this equation to find a formula that computes "p" in terms of "q". Said differently, the variable is "p" and the parameter is "q".
the equation is " p.^2 .*(1-q).*(2.*q.*(1-p.^2)).^(2.*p) -2.*(1-p).*(1-q.*(1-p)).*(p+q.*(1-p))"
and there is a constraint for "p" and "q" since they are probabilities between 0 to 1
I will be so pleased if some one kindly let me know how to do it?
Thanks in advance
Akzeptierte Antwort
Weitere Antworten (1)
Walter Roberson
am 20 Sep. 2013
If the overall expression is to equal 0 (rather than it being of the form y = .... and needing to solve for given y and p), then the expression given has two solution families:
p = 0, q = 1
p = 1, q = anything in [0 to 1]
2 Kommentare
Roger Stafford
am 20 Sep. 2013
It also has a solution at p = 0 and q = 0.
cm
am 21 Sep. 2013
Kategorien
Mehr zu Utilities for the Solver finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!