| Author |
Comment/Response |
Daniele Lupo
|
10/14/07 09:51am
Hi...
I've not a problem, but a question...
I've this list of equations
sis = {
0.125 == 2.5*(b + c + d)/(a + b + c + d),
0.079 ==
2.5*(b + c + ((d*35)/(d + 35)))/(a + b + c + ((d*35)/(d + 35))),
0.069 ==
2.5*(b + ((c*35)/(c + 35)) + ((d*35)/(d + 35)))/(a +
b + ((c*35)/(c + 35)) + ((d*35)/(d + 35))),
0.055 ==
2.5*(((b*35)/(b + 35)) + (c*35)/(c +
35) + ((d*35)/(d + 35)))/(a + ((b*35)/(b +
35)) + (c*35)/(c + 35) + ((d*35)/(d + 35)))
};
I want to change 35 with 85, but ReplaceAll does not work
sim /. 35 -> 85
Instead, it works if I use ReplaceRepeated:
sim //. 35 -> 85
Why this difference? Theretically, ReplaceAll must work, I think. Why /. does not work in this case?
Daniele
URL: , |
|