Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Solving two nonlinear equations with two unknowns in MATLAB
Replies: 9   Last Post: Aug 6, 2012 1:21 PM

 Messages: [ Previous | Next ]
 Sargondjani Posts: 176 Registered: 8/30/11
Re: Solving two nonlinear equations with two unknowns in MATLAB
Posted: Jul 25, 2012 5:26 AM

> On Wednesday, July 25, 2012 3:31:28 AM UTC+9, Sargondjani wrote:
> > > by the way, to me it seems there is a one-to-one mapping between p and tau,which would make it a one variable problem... which shouldnt be to difficult for any solver to analyze.
> >
> > sorry i didnt mean 1-to1 mapping, but i meant that you can get an explicit expression of p in terms of tau

>
> Thanks Sargondjani and Torsten,
> Finally, I understand it. Actually, the last statement result=tau - 2*(1-2*p) ./ ( (1-2*p)*(W+1)+(p*W).*(1-(2*p).^m)); was a bit confusing for me. I thought function returns 'result' but it is ,in fact, returning 'tau' which is my required answer.
> --

well not exactly. the function returns the value for 'return'. and solve tries to set this value to 0. when return = 0 your system is solved... so it is solve that returns 'tau' as the solution to 'return = 0'

Date Subject Author
7/23/12 Bilal
7/24/12 Sargondjani
7/24/12 Bilal
7/24/12 Torsten
7/24/12 Sargondjani
7/24/12 Sargondjani
7/24/12 Bilal
7/25/12 Sargondjani
8/6/12 Neeraj
8/6/12 Bilal