I have two nonlinear equations with two unknowns, i.e., tau and p. both equations are: p=1-(1-tau).^(n-1) and tau = 2*(1-2*p) ./ ( (1-2*p)*(W+1)+(p*W).*(1-(2*p).^m)).
I am interested to find the value of tau. How I can find this value using c++ code, I have done that using MATLAB and here is the code that I used:
Hiya,
If you've done it in matlab i'm assuming you're familiar with the maths and the corresponding algorithms? If that's the case can i suggest you go through the tutorials on this site, especially control flow: http://www.cplusplus.com/doc/tutorial/control/