Re: Bisection method: your recommendation



On 5 Feb, 15:04, Randy Poe <poespam-t...@xxxxxxxxx> wrote:
On Feb 5, 9:40 am, shalini.sing...@xxxxxxxxx wrote:





I need to solve this equaation:

(x1cos(p)+y1sin(p))^2 * (x2sin(p)-y2cos(p)) = (x1sin(p)-y1cos(p)) *
(x2cos(p)+y2sin(p))^2 ;

x1,x2,y1,y2 are constants

The equation would have 3 roots

1 real and two imaginary

I don't need imaginary roots.

I am planning to use bisection method-----

since i know the real root will lie between -2*pi and 2*pi

What is your comment on this?

Sure, why not? You might consider plotting it first
to estimate the region where the root lies.

          - Randy- Hide quoted text -

- Show quoted text -

And that would show starting at p=-2*pi and 2*pi will not work as they
give the same value (and so does p=0). Indeed, there are up to twelve
roots on this interval.

Instead start with p=0 and pi which will have opposite signs and from
one to three real roots between them.



.



Relevant Pages

  • Re: Bisection method: your recommendation
    ... I don't need imaginary roots. ... You might consider plotting it first ... to estimate the region where the root lies. ...
    (sci.math)
  • Re: Haw to find symbolick roots
    ... you appear to have a typing error in ... When you convert back to roots of f there will be eight roots, because each root for x has two possible square roots for f, and therefore these can also be expressed symbolically. ... As to your question about plotting the roots, what is it you are varying to produce a plot? ... Plotting these would be rather awkward to do. ...
    (comp.soft-sys.matlab)
  • Bernsetin polynomial and Sturm sequences-[possible answer]
    ... With the Bernstein polynomials, is there a simple form for the Sturm ... Then B_Nhas exactly n real roots if and only if ... the roots z_1,...,z_n of P_Nas in by using ... Sur la signe de la partie r\'eelle des racines ...
    (sci.math.research)
  • Re: polynomials with real roots
    ... what do you mean by "with real roots"? ... are missing terms allowed (i.e. possible coefficients of 0 ... I stole the reference to Newton's inequality from this paper: ...
    (sci.math)
  • Re: polynomials with real roots
    ... what do you mean by "with real roots"? ... are missing terms allowed (i.e. possible coefficients of 0 ... I stole the reference to Newton's inequality from this paper: ...
    (sci.math)