search for: sovabl

Displaying 1 result from an estimated 1 matches for "sovabl".

Did you mean: sovable
2007 Jun 19
1
Iterative Solver [Converting Matlab's solve()]
I can't for the life of me figure out how to get the roots for this simple (but sovable only iteratively) equation in R: x = z*(1-(1-2/z)^y where x and y are known, and z is unknown. In Matlab, this amounts to: [my.solution] = solve('x = z*(1-(1-2/z)^y') my.solution.real = solution(y-1,y) % bottom line displays non-imaginary solution (last element) Obviously, I'm de...