Hello. Have you triez to expand 1nd then to factorize the formula ? Le 1 janv. 2016 03:42, "Ken" <[email protected]> a écrit :
> I've just started learning Sympy. I wrote a few lines of code to perform a > inverse laplace transform on a simple 2nd order transfunction: > > H(s) = 1 / ((s+p1) * (s+p2)). > > The result I got from Sympy is > > (e^(p1*t) - e^(p2*t))*e^-t*(p1+p2) / (p1 - p2) > > Is there a way to simplify this result to the one like in Maxima (e^-t*p1 > + e^-t*p2) / (p1-p2) ? > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/0b4a638b-b9d8-426d-99c3-12fdaf1cc973%40googlegroups.com > <https://groups.google.com/d/msgid/sympy/0b4a638b-b9d8-426d-99c3-12fdaf1cc973%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAAb4jGkLmZqcunpJgvX1W4%2B%3D-0VFEkDQ54Oc%2BV4%3DYqMQ90YWDQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
