system of equations - square root involved
system of equations - square root involved
(OP)
Hey Y'all,
I'm a bit rusty, and could use some help in solving a system of equations. Let's say I have 2 equations, 2 unknowns (simplified for discussion's sake), and one of my equations looks something like:
B1 = (const1)x1 + (const2)x2^2 + sqrt(x1-x2).
Assuming I can't come up with a third equation, how do I get this thing started? I think it shouldn't be too difficult, but I can't seem to get a grasp of how to properly turn this into a system of equations matlab can solve. Thoughts or comments?
Thanks in advance for any help!
I'm a bit rusty, and could use some help in solving a system of equations. Let's say I have 2 equations, 2 unknowns (simplified for discussion's sake), and one of my equations looks something like:
B1 = (const1)x1 + (const2)x2^2 + sqrt(x1-x2).
Assuming I can't come up with a third equation, how do I get this thing started? I think it shouldn't be too difficult, but I can't seem to get a grasp of how to properly turn this into a system of equations matlab can solve. Thoughts or comments?
Thanks in advance for any help!





RE: system of equations - square root involved
=====================================
(2B)+(2B)' ?
RE: system of equations - square root involved
=====================================
(2B)+(2B)' ?
RE: system of equations - square root involved
Very frustrating, as I can...almost...remember...what to do...but not quite. :P
But thanks for the suggestions, I will make the most out of them.
Cheers!
RE: system of equations - square root involved
(const1)x1 + (const2)x2^2 + sqrt(x1-x2) - B1 = 0
RE: system of equations - square root involved
Thanks Brad. I think fzero, or another built-in optimization function, may be what I'm looking for. The pieces are slowly starting to fall back into place.. :)
Thanks to all.
RE: system of equations - square root involved
You could also try the "Solve("equation1,equation2")" function. It sometimes gives an analytical solution that is not always obvious.
Fe