Question: coeff of nonlin eq.

why doesn't "coeff" command work on this equation?

f=zin-z2(z3(z1(zin+I*z1*tan(beta1*d1))+I*z3*(tan(beta3*d3))(z1+I*zin*tan(beta1*d1)))
+I*z2*(tan(beta2*d2))(z3*(z1+I*zin*tan(beta1*d1))+I*z1(zin+I*z1*tan(beta1*d1))*tan(beta3*d3)))/(z2(z3(z1+I*zin*tan(beta1*d1))
+I*z1(zin+I*z1*tan(beta1*d1))*tan(beta3*d3))+I*z3(z1(zin+I*z1*tan(beta1*d1))+I*z3*(tan(beta3*d3))(z1+I*zin*tan(beta1*d1)))*tan(beta2*d2))

a0 := coeff(f, zin, 2);
b0 := coeff(f, zin, 1);
c0 := coeff(f, zin, 0);

and how can i calculate "a0", "b0" and "c0" from a nonlinear eq. like that(f)?

Please Wait...