I have to find x1 & x2 in terms of other variables.
x = l/m*s1;
x1 = (l/(m1*(s1+s-s*s1))*(1 + (s1/s)*(1-s) + (s/s1)*(1-s1)) + (l/s1*m1) + (3*l/s*m1)
x2 = l*(3-2*s2)/(m2*s2*(2-s2)) + (4*l/m2*s2)
m1 = m2 = m = p
s = (1 – x*p), s1 = (1 – x1*p)*(1 – x2*p), s2 = (1 – x1*p)*(1-x*p)
x = 1 in the given case. All these are symbols and I tried using expand, then collect & roots function in m – file to solve for x1 & x2, but I can't seem to separate x1 & x2. Is there an easier way to solve this ?
Best Answer