HP Forums

Full Version: Simplification
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
I want to know a function to simplify and separate by terms

Example:
[Image: kkk.png]

Thanks
I guess it can't be done with a single operation, it calls for more steps.
Best,

Aries Wink
(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 Wink

Do you have an idea how?
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
Reference URL's