system of eqns 2 solve. Help please
2 views (last 30 days)
Show older comments
I have to solve the the following eqns for r1 & r2.
x =
((-ptr*(1-r2*ptr)+(1-ptr)*ptr*(1-r2*ptr))*(1-ptr)-ptr^3*(1-r2*ptr)^2-3*ptr*(1-r2*ptr)*(-ptr*(1-r2*ptr)+(1-ptr)*ptr*(1-r2*ptr)))*r1^2+((2-r2*ptr-ptr-(1-ptr)*(1-r2*ptr))*(1-ptr)+2*ptr^2*(1-r2*ptr)^2+(4-ptr-3*r2*ptr)*(-ptr*(1-r2*ptr)+(1-ptr)*ptr*(1-r2*ptr))-3*ptr*(1-r2*ptr)*(2-r2*ptr-ptr-(1-ptr)*(1-r2*ptr))+(1-ptr)*ptr*(1-r2*ptr)-(1-ptr)^2*ptr*(1-r2*ptr))*r1-ptr*(1-r2*ptr)^2+(4-ptr-3*r2*ptr)*(2-r2*ptr-ptr-(1-ptr)*(1-r2*ptr))-(1-ptr)*(1-r2*ptr)-(1-ptr)^2*r2*ptr
y =
((1-r1*ptr)*(1-ptr)*(2-(1-r1*ptr)*(1-ptr))+(1-r1*ptr)*ptr*(11-6*(1-r1*ptr)*(1-ptr)))*r2-(1-r1*ptr)*(11-6*(1-r1*ptr)*(1-ptr))
I used the following command
z = solve(x,y,r1,r2)
Result i got is z =
r1: [4x1 sym]
r2: [4x1 sym]
How to find r1 & r2 ????
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Numbers and Precision in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!