Simplification
03-29-2019, 06:33 AM
Post: #1
 kaimor Junior Member Posts: 3 Joined: Mar 2019
Simplification
Hi
I want to know a function to simplify and separate by terms

Example:

Thanks
03-31-2019, 10:23 AM
Post: #2
 Aries Member Posts: 159 Joined: Oct 2014
RE: Simplification
I guess it can't be done with a single operation, it calls for more steps.
Best,

Aries
04-15-2019, 03:29 PM
Post: #3
 kaimor Junior Member Posts: 3 Joined: Mar 2019
RE: Simplification
(03-31-2019 10:23 AM)Aries Wrote:  I guess it can't be done with a single operation, it calls for more steps.
Best,

Aries

Do you have an idea how?
04-15-2019, 04:10 PM
Post: #4
 Albert Chan Senior Member Posts: 2,517 Joined: Jul 2018
RE: Simplification
What may be needed is remove the equal sign, and move everything to one side, say RHS

eqn := v1/(-2.5 i) + (v1-v2)/(4 i) - (20 - v1)/10

partfrac(eqn) → ((-3+2*i)*v1-5*v2-40*i)/(20*i)

Since denominator is nonzero, just read off the numerator

numer(float(eqn)) → (0.1+0.15*i)*v1+0.25*i*v2-2.0
 « Next Oldest | Next Newest »