Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'substitution didn't work??' topicStudent Support Forum > General > Archives > "substitution didn't work??"

Next Comment >Help | Reply To Topic
Author Comment/Response
ray
10/06/10 5:18pm

My first attempt at FindRoot resulted in:
FindRoot::nlnum: The function value {x1,x2,x3} is not a list of numbers with dimensions {3} at {x,y,z} = {1.,2.,3.}. >>
But when I inputted the equations directly in got at answer. What did I do wrong with the substitution???

x1[x_, y_, z_] = x + y + z == 6;
x2[x_, y_, z_] = Sin[x] + Cos[y] + Tan[z] == 1;
x3[x_, y_, z_] = E^x + Sqrt[y] + 1/z == 5;
FindRoot[{x1, x2, x3}, {x, 1}, {y, 2}, {z, 3}]
FindRoot[{x + y + z == 6, Sin[x] + Cos[y] + Tan[z] == 1,
E^x + Sqrt[y] + 1/z == 5}, {x, 1}, {y, 2}, {z, 3}]

URL: ,

Subject (listing for 'substitution didn't work??')
Author Date Posted
substitution didn't work?? ray 10/06/10 5:18pm
Re: substitution didn't work?? Peter Pein 10/07/10 06:34am
Next Comment >Help | Reply To Topic