Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.2K Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:

[?] Plot function that has piecewise function within?

Posted 8 years ago

can anyone help me with plotting the graph as follows

e := 0.2;    bo := 1;    T := 2;    xo := 1;    x1 = -1;
u = Piecewise[{{1, -1 <= b <= 1 && (x^3) - 2*x + b > 0 || 
     b > 1 && x}}, 0]
PP = StreamPlot[{x - xo + (xo - x1)*u, -((x^3) - T*x + b)/e}, {b, -2, 
   2}, {x, -2, 2}]

This is the output

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