Get mathematica to simplify expression with another equation

前端 未结 3 1086
囚心锁ツ
囚心锁ツ 2020-12-23 17:51

I have a very complicated mathematica expression that I\'d like to simplify by using a new, possibly dimensionless parameter.

An example of my expression is:

<
3条回答
  •  有刺的猬
    2020-12-23 18:39

    K = a*b*t/((t+f)c*d);
    
    FullSimplify[ K, 
     TransformationFunctions -> {(# /. t/(t + f) -> p &), Automatic}]
    
    (a b p) / (c d)

    Corrected update to show another method:

    EQ1 = a1 == (ton (B ton^2 + A^2 B ton (toff + ton) + 
            A (ton^2 + B (toff + ton)^2)))/(toff + ton)^3;
    
    f = # /. ton + toff -> ton/p &;
    
    FullSimplify[f @ EQ1]
    
    a1 == p (A B + A^2 B p + (A + B) p^2)

    I don't know if this is of any value at this point, but hopefully at least it works.

提交回复
热议问题