Hello,(adsbygoogle = window.adsbygoogle || []).push({});

First, if somebody can point out a better forum to seek answers concerning the usage of the program Octave, please let me know! :)

Okay, so I'm trying to solve a relatively simple equation (numerically), foo = ln(4*z)/z, with the foo range known. As far as I know, the only way is to use fsolve? So I try,

foo = [0:.001:.05];

for i=1:length(foo);

z(i) = fsolve("log(4*x)/x-foo(i)", 1);

end;

and get back an error that fsolve does not know what foo is. Is fsolve the right way to get values for z given foo in the equation above? Does anybody know how to do this?

Thank you very much,

Ayu

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Octave help: solving equations

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**