how are you?.
I'm having a problem to do a partial fraction expand in wxMaxima, I have the following equation which has several non integer coefficients
3.63353804840429*10^-8*z^2-7.322452324955847*10^-8*z+3.687492572586066*10^-8
X(z) = ----------------------------------------------------------------------------
1.0*z^2-1.999945180935844*z+0.9999451809358438
when I try to do a partfrac of that equation then wxMaxima simply doesn't do it as it can be seen bellow
I know that at least the denominator has real roots because when I apply a solve then the result has two real roots very close to one like is seen bellow
float(solve(denom(PIDz))));
(%o185) [z=0.9999451810050616,z=0.9999999999307788]
I think the problems is due to the non integer coefficients or due to decimal quantity but I don't know how to solve it.
How can this be solved?.
Update 15/01/22:
The initial equation of my post is the calculated equation for making a PID control for the following plant (the following equation was obtained with Scilab)
79.728153*z+79.433306
-----------------------------
z^2-1.9889465*z+0.9889465
Update 17/01/21:
Following the method teached by @Robert Dodier but with x(z) then I found the relation between the coefficients of the denominator of x(z), then I replace those coefficients with algebraic ones like follows
dd1: z^2 - (cd - 2)*z + cd;
(dd1) z^2-(cd-2)*z+cd
nn1: nn1: an*z^2 + bn*z + cn;
(nn1) an*z^2+bn*z+cn
nn1/dd1;
(%o3) (an*z^2+bn*z+cn)
-------------------
(z^2-(cd-2)*z+cd)
partfrac (nn1/dd1, z);
%o4 (an*cd+bn-2*an)*z+cn-an*cd)
----------------------------- + an
(z^2-(1 + cd)*z+cd)
I've tested it with several combinations in the numerator, I mean, first order equation and second order equation having all coefficients on the numerator without any relation between them. After that and having found the relation between the coefficients of the denomintaror being the coefficient of the first order term (cd - 2) with cd being the independent term, I obtained the above %o4. That exactly the same result form that is obtained numerically like is seen in the image "Salida de partfrac"
That is, when maxima find that kind of equation in the denominator then it doesn't factorize the denominator.
Thanks in advance for the help.