Message Boards Message Boards

Plot (or contourplot) the output of Reduce?

Posted 8 years ago

Hello

I have the following output of Reduce:

(kp < 5/11 && 
   0 < k < (-519020 + 69999 kp)/(1120 (-5 + 11 kp)^2) + (
     463 Sqrt[(1259600 - 352040 kp + 37249 kp^2)/(-5 + 11 kp)^4])/
     1120) || (kp == 5/11 && 0 < k < 876469/37514575) || (kp > 5/11 &&
    0 < k < (-519020 + 69999 kp)/(1120 (-5 + 11 kp)^2) + (
     463 Sqrt[(1259600 - 352040 kp + 37249 kp^2)/(-5 + 11 kp)^4])/
     1120)

How can I plot the result?

There is a similar question on the web where it is suggested that ConditionalExpressions or Piecewise would help, but I could not get anything of them.

Many thanks.

POSTED BY: Eduardo Mendes
3 Replies
Posted 8 years ago

Many thanks. I completely forgot about RegionPlot.

POSTED BY: Eduardo Mendes

Like so:

RegionPlot[(kp < 5/11 && 
    0 < k < (-519020 + 
         69999 kp)/(1120 (-5 + 
            11 kp)^2) + (463 Sqrt[(1259600 - 352040 kp + 
             37249 kp^2)/(-5 + 11 kp)^4])/1120) || (kp == 5/11 && 
    0 < k < 876469/37514575) || (kp > 5/11 && 
    0 < k < (-519020 + 
         69999 kp)/(1120 (-5 + 
            11 kp)^2) + (463 Sqrt[(1259600 - 352040 kp + 
             37249 kp^2)/(-5 + 11 kp)^4])/1120)
 , {kp, -50, 150}
 , {k, -0.1, 0.1}
 ]
POSTED BY: Sander Huisman

Use:

RegionPlot

because you have > (or <) in your expression.

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract