[sympy] Re: Functions grimoire

2019-06-08 Thread Chris Smith
This is a high-tech version -- and much nicer and more complete -- than my tattered CRC math handbook with little post-its and inline penciled notes providing some of the finer points which, as you note, are sometimes glossed over or separated from a function of interest. On Tuesday, June 4, 20

[sympy] Re: Problem in solving non linear equation equation

2019-06-08 Thread Chris Smith
As Oscar said, the equation is essentially a quartic with symbolic coefficients for which it is not possible to write a single generally valid solution (since the solutions depend on the relationship between the coefficients); eq = Eq(omega_nf, C0 + C1*omega**2 + C2*omega**4 + C3*omega**6 + C4*

Re: [sympy] Problem in solving non linear equation equation

2019-06-08 Thread Chris Smith
With check=False I get the solutions ``` >>> solve(omega_nf-942.5,check=False) [-0.00027375075000, 0.00235331614197392] ``` And bisect agrees with positive root ``` >>> nsolve(omega_nf-942.5,(.002,.003),solver='bisect') 0.00235331614197390 ``` On Wednesday, June 5, 2019 at 4:20:27 PM UTC-5, A