On Dec 20, 2007 4:13 AM, <[EMAIL PROTECTED]> wrote: > f(x):= float(x+x^2)$ > B(x):=x+1$ > N(x):=romberg(f(u),u,-10,B(x))$ > wxplot2d( '[N(x)], [x, 0.3,0.4] )$ > find_root(N-285,x,0.3,0.4); > > En reponse, Maxima me donne le graphe de la fonction comme je lui ai > demande et m'ecrit aussi > > > (%o6) find_root(N-285,x,0.3,0.4)(See attached file: Maxima_graph.png) > > J'ai demande a Maxima la solution de l'equation N(x)=285 mais je n'arrive > pas a lui faire sortir la solution approchee. Comment faire pour avoir un > nombre en retour et pas > (%o6) find_root(N-285,x,0.3,0.4) ?
Cyril, I think you meant to write find_root (N(x) - 285, x, 0.3, 0.4); for which I get 0.32935576297938 in response. (Maxima doesn't try to automatically construct a function when it sees the N - 285. Perhaps it could do so, but that is beyond the scope of solving this particular problem.) Hope this helps, Robert Dodier ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Maxima-lang-fr mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/maxima-lang-fr
