MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Plotting intersections


Hi,

funs = {3x + 5, x^2};
Plot[Evaluate[funs], {x, -10, 10}, 
  Epilog -> {PointSize[
        0.05], (Point[{#, funs[[1]] /. x -> #}] & /@ (x /. 
              Solve[Equal @@ funs, x]))}]

Regards
  Jens

AngleWyrm wrote:
> 
> Here's two plots, one linear and one not so linear ;)
> 
> Plot[ {3x+5, x^2}, {x, -10, 10} ]
> 
> And I want to know the intersection points of the two expressions.
> 
> Is there a simple way to do this, and is it extensible to three or four
> expressions?


  • Prev by Date: Help-directional fields
  • Next by Date: Opinions about the "Oneliners"
  • Previous by thread: Re: Plotting intersections
  • Next by thread: generate random permutation