       Re: Factor/Simplify complex expressions

• To: mathgroup at smc.vnet.net
• Subject: [mg116599] Re: Factor/Simplify complex expressions
• From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
• Date: Mon, 21 Feb 2011 05:34:43 -0500 (EST)

```On Mon, 21 Feb 2011, Enrique Fern=E1ndez Perdomo wrote:

> Hello,
>
> I have a complex expression, and I'm computing the first and second derivatives. They're very long expressions that can be factored/simplified. I've tried to do it with Factor, Simplify and even FullSimplify, as well as, substitution (./). However, the expressions are not simplified.
> This is the function I'm working with:
> 1 - Tanh[(y - B[t] Cos[k (x - c t)])/Sqrt[1 + (k B[t] Sin[k (x - c t)])^2]]
> where B[t] is a function:
> B0+e Cos[w t + o]
>
> What I'm looking for, is a method to factorized the resulting expressions (the partial derivatives, wrt x and y, of first and second order) efficiently. I need to code them in C/C++.
>
> Best regards,
> Enrique
>
>

Enrique,

you could try to work with TrigToExp and do the simplification.

Oliver

```

• Prev by Date: Re: How to do quickest
• Next by Date: Odd behaviour of solution of PDE
• Previous by thread: Factor/Simplify complex expressions
• Next by thread: Chain of packets in MathLink: are packets always strictly ordered?