Could you please provide a full transcript (with display2d:false) of your
interaction? I don't see x-s in the result of the integration.
-s
On Wed, Apr 4, 2012 at 09:08, Tamas Papp <tkpapp at gmail.com> wrote:
> Hi,
>
> If I do
>
> texput(%lambda,"\\lambda");
> assume(%lambda > 0);
> integrate(1/(1+A*exp(%lambda*(p-s))),p,x,inf);
>
> I get an expression where x-s always occurs together, so it would be
> convenient to replace them by a single parameter y=x-s. I tried
>
> ratsubst(y,x-s,%);
>
> but the substitution is not performed inside the logarithm. Is there
> a way I could make Maxima simplify this? I guess I need to cancel the
> exp(something)*exp(-something) terms first inside the log, but I don't
> know how.
>
> Best,
>
> Tamas
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>