[Maxima] Is this a bug?
reyssat
eric.reyssat at math.unicaen.fr
Wed Dec 9 01:59:03 CST 2009
ahmet alper parker a écrit :
> I used to solve such equations in maxima before, but this time it does
> not yield any answer.
> find_root(sum(1/(C+0.055*i), i, 1, n)-9.09264803473413=0, C, 3.4, 3.5);
> the solution should be approximately 3.44 (i have done it with
> goalseek function with a spreadsheet program).
>
The answer depends on the value of n. If you first set
n:41;
then you get :
(%i3) find_root(sum(1/(C+0.055*i), i, 1, n)-9.09264803473413=0, C, 3.4,
3.5);
(%o3) 3.447666118589491
For other values of n, you may get an error message "function has same
sign at endpoints"
Eric
More information about the Maxima
mailing list