Tag Info

New answers tagged

0

First of all, the underscore is not allowed in a variable name. Your expression can be written in Mathematica for instance format like this FullSimplify[((p1 Cp)/R) (V2 - V1) + ((V2 CV)/R) (p2 - p1), Assumptions -> {p1 V1^(gamma) == p2 V2^(gamma), gamma == Cp/CV}] (* Out[70]= (CV (-p1 + p2) V2 + Cp p1 (-V1 + V2))/R *) Next, even though it sounds ...


2

Update: This matches the evaluated form of your desired output for each example: fn = Collect[#, x^y_ /; FreeQ[y, _Integer], Apart] &; Test: expr1 = c0 x^(a + b) + c1 x^(a + b + 1) + c2 x^(a + b + 2) + c3 x^(a + b + 2) + c4 x^(a + b + 2) + c5 x^(a) + c6 x^(a + 1) + c7 x^(a + 1); target1 = x^(a) (c5 + x (c6 + c7)) + x^(a + b) (c0 + x c1 + x^2 (c2 ...



Top 50 recent answers are included