Student Support Forum: 'ReplaceAll question.' topicStudent Support Forum > General > "ReplaceAll question."

 Next Comment > Help | Reply To Topic
 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: ,

 Subject (listing for 'ReplaceAll question.') Author Date Posted ReplaceAll question. Daniele Lupo 10/14/07 09:51am Re: ReplaceAll question. yehuda ben-s... 10/16/07 02:37am Re: ReplaceAll question. Peter Pein 10/16/07 09:05am
 Next Comment > Help | Reply To Topic