On 12/24/07, Cyril Grunspan <[EMAIL PROTECTED]> wrote:

>  N(x):=romberg(f(u),u,-10,B(x))$

>  phi(u,v):=N(u)-v$
>  psi(v):=find_root(phi(u,v),u,0,0.1)$
>  wxplot2d([psi(x)], [x,0.3,0.8])$

Careful! Notice that N(u) yields an expression in which u is the variable
of integration, and also appears in the upper limit of integration. I.e.

N(u) => romberg(f(u), u, -10, B(u))

You can help Maxima by distinguishing the variable of integration,
e.g. N(x):=romberg(f(uu),uu,-10,B(x))$
I find that with that definition, the plot works OK.

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

Répondre à