Python Forum
Symplify symbolic expression
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Symplify symbolic expression
#1
Hello,
Using lcapy module produced following expression for transfer function:
H
⎛ s⋅(C_d + C_id) ⎞
⎜────────────────────────⎟
⎝C_d + C_f + C_icm + C_id⎠
────────────────────────────────────────────
1
s + ────────────────────────────────────────
C_d⋅R_f + C_f⋅R_f + C_icm⋅R_f + C_id⋅R_f

Viewing this expression it's clear that it can be simplified (e.g. multiply nominator and denominator by (C_d + C_f + C_icm + C_id))
Does exist a some function allowing to simplify symbolic expressions ?
Thanks
Reply
#2
Resolved.
Hs = H.simplify()
gets this:
Hs
R_f⋅s⋅(C_d + C_id)
────────────────────────────────────
R_f⋅s⋅(C_d + C_f + C_icm + C_id) + 1
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python sympy problem for symbolic equation definition joellapointe_engineering 0 270 Mar-24-2024, 11:09 PM
Last Post: joellapointe_engineering
  Build Lapalce symbolic expression from nominator/denominator arrays Pavel_47 0 880 Oct-07-2022, 01:35 PM
Last Post: Pavel_47

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020