I have this expression in WXMAXIMA:
100/(25.00079433726757*%i+20)
How can i reduce to the form a + %i b?
I tried rectform, float, polarform... Any of those functions seem to simplify that simple calculus. Just two numbers. Dont imagine how...
Full process:
(%i2) load("ezunits");
numer: true;
(%o1) "/usr/share/maxima/5.45.1/share/ezunits/ezunits.mac"
(%o2) true
(%i3) R1: 20`ohm;
(%o3) 20 ` ohm
(%i9) f:50`Hz; w: 2*%pi*f;
L1: 79.58 `mH;
Z1: R1 + (w*L1 ``ohm) * %i;
cabs(Z1); float(carg(Z1)) `` degree;
(%o4) 50 ` Hz
(%o5) 314.1592653589793 ` Hz
(%o6) 79.58 ` mH
(%o7) (25.00079433726757*%i+20) ` ohm
(%o8) 32.01624146420611 ` ohm^1.0
(%o9) 51.34107977110403 ` degree
(%i81) V: 100 ` volt;
I1: V / Z1;
rectform(I1);
(%o79) 100 ` volt
(%o80) 100/(25.00079433726757*%i+20) ` volt/ohm
(%o81) realpart(100/(25.00079433726757*%i+20) ` volt/ohm)+%i*imagpart(100/(25.00079433726757*%i+20) ` volt/ohm)
As u can see at %o81, the calculus isn't simplified. Maybe unit affected? Tried to remove unit with nounit() but still everything is not simplified
(%i84) V: 100 ` volt;
I1: V / Z1;
nounit(rectform(I1));
(%o82) 100 ` volt
(%o83) 100/(25.00079433726757*%i+20) ` volt/ohm
(%o84) nounit(realpart(100/(25.00079433726757*%i+20) ` volt/ohm)+%i*imagpart(100/(25.00079433726757*%i+20) ` volt/ohm))