plotting phase portrait for a system [closed]
$begingroup$
I want to plot phase portrait for below system
begin{cases}
dphi/dzeta=Z \
dZ/dzeta=aphi+bphi^2+cphi^3
end{cases}
a=-0.13
b=-0.07
c=-2.83
Can any body help me?
Thanks
graphing-functions
$endgroup$
closed as off-topic by Did, Saad, Brahadeesh, Dando18, Potato Dec 8 '18 at 20:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Did, Saad, Brahadeesh, Dando18, Potato
If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
$begingroup$
I want to plot phase portrait for below system
begin{cases}
dphi/dzeta=Z \
dZ/dzeta=aphi+bphi^2+cphi^3
end{cases}
a=-0.13
b=-0.07
c=-2.83
Can any body help me?
Thanks
graphing-functions
$endgroup$
closed as off-topic by Did, Saad, Brahadeesh, Dando18, Potato Dec 8 '18 at 20:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Did, Saad, Brahadeesh, Dando18, Potato
If this question can be reworded to fit the rules in the help center, please edit the question.
2
$begingroup$
You can't really, if $a, b$ and $c$ are unknown.
$endgroup$
– Rebellos
Dec 7 '18 at 9:37
$begingroup$
Welcome to MSE. Your question is phrased as an isolated problem, without any further information or context. This does not match many users' quality standards, so it may attract downvotes, or be put on hold. To prevent that, please edit the question. This will help you recognise and resolve the issues. Concretely: please provide context, and include your work and thoughts on the problem. These changes can help in formulating more appropriate answers.
$endgroup$
– José Carlos Santos
Dec 7 '18 at 9:37
add a comment |
$begingroup$
I want to plot phase portrait for below system
begin{cases}
dphi/dzeta=Z \
dZ/dzeta=aphi+bphi^2+cphi^3
end{cases}
a=-0.13
b=-0.07
c=-2.83
Can any body help me?
Thanks
graphing-functions
$endgroup$
I want to plot phase portrait for below system
begin{cases}
dphi/dzeta=Z \
dZ/dzeta=aphi+bphi^2+cphi^3
end{cases}
a=-0.13
b=-0.07
c=-2.83
Can any body help me?
Thanks
graphing-functions
graphing-functions
edited Dec 7 '18 at 10:58
sepide shirazi
asked Dec 7 '18 at 9:33
sepide shirazisepide shirazi
43
43
closed as off-topic by Did, Saad, Brahadeesh, Dando18, Potato Dec 8 '18 at 20:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Did, Saad, Brahadeesh, Dando18, Potato
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by Did, Saad, Brahadeesh, Dando18, Potato Dec 8 '18 at 20:48
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Did, Saad, Brahadeesh, Dando18, Potato
If this question can be reworded to fit the rules in the help center, please edit the question.
2
$begingroup$
You can't really, if $a, b$ and $c$ are unknown.
$endgroup$
– Rebellos
Dec 7 '18 at 9:37
$begingroup$
Welcome to MSE. Your question is phrased as an isolated problem, without any further information or context. This does not match many users' quality standards, so it may attract downvotes, or be put on hold. To prevent that, please edit the question. This will help you recognise and resolve the issues. Concretely: please provide context, and include your work and thoughts on the problem. These changes can help in formulating more appropriate answers.
$endgroup$
– José Carlos Santos
Dec 7 '18 at 9:37
add a comment |
2
$begingroup$
You can't really, if $a, b$ and $c$ are unknown.
$endgroup$
– Rebellos
Dec 7 '18 at 9:37
$begingroup$
Welcome to MSE. Your question is phrased as an isolated problem, without any further information or context. This does not match many users' quality standards, so it may attract downvotes, or be put on hold. To prevent that, please edit the question. This will help you recognise and resolve the issues. Concretely: please provide context, and include your work and thoughts on the problem. These changes can help in formulating more appropriate answers.
$endgroup$
– José Carlos Santos
Dec 7 '18 at 9:37
2
2
$begingroup$
You can't really, if $a, b$ and $c$ are unknown.
$endgroup$
– Rebellos
Dec 7 '18 at 9:37
$begingroup$
You can't really, if $a, b$ and $c$ are unknown.
$endgroup$
– Rebellos
Dec 7 '18 at 9:37
$begingroup$
Welcome to MSE. Your question is phrased as an isolated problem, without any further information or context. This does not match many users' quality standards, so it may attract downvotes, or be put on hold. To prevent that, please edit the question. This will help you recognise and resolve the issues. Concretely: please provide context, and include your work and thoughts on the problem. These changes can help in formulating more appropriate answers.
$endgroup$
– José Carlos Santos
Dec 7 '18 at 9:37
$begingroup$
Welcome to MSE. Your question is phrased as an isolated problem, without any further information or context. This does not match many users' quality standards, so it may attract downvotes, or be put on hold. To prevent that, please edit the question. This will help you recognise and resolve the issues. Concretely: please provide context, and include your work and thoughts on the problem. These changes can help in formulating more appropriate answers.
$endgroup$
– José Carlos Santos
Dec 7 '18 at 9:37
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
With the MATHEMATICA script
tmax = 10;
gr1 = StreamPlot[{-0.13 phi - 0.07 phi^2 - 2.83 phi^3, z}, {z, -1, 1}, {phi, -1, 1}];
sol = NDSolve[
{phi'[t] == z[t],
z'[t] == -0.13 phi[t] - 0.07 phi[t]^2 - 2.83 phi[t]^3,
z[0] == 0.6, phi[0] == 0.6}, {z, phi}, {t, 0, tmax}][[1]];
gr2 = ParametricPlot[Evaluate[{z[t], phi[t]} /. sol], {t, 0, tmax}, PlotStyle -> Red];
Show[gr1, gr2]
we get the stream flow in blue and a typical orbit in red.
$endgroup$
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
With the MATHEMATICA script
tmax = 10;
gr1 = StreamPlot[{-0.13 phi - 0.07 phi^2 - 2.83 phi^3, z}, {z, -1, 1}, {phi, -1, 1}];
sol = NDSolve[
{phi'[t] == z[t],
z'[t] == -0.13 phi[t] - 0.07 phi[t]^2 - 2.83 phi[t]^3,
z[0] == 0.6, phi[0] == 0.6}, {z, phi}, {t, 0, tmax}][[1]];
gr2 = ParametricPlot[Evaluate[{z[t], phi[t]} /. sol], {t, 0, tmax}, PlotStyle -> Red];
Show[gr1, gr2]
we get the stream flow in blue and a typical orbit in red.
$endgroup$
add a comment |
$begingroup$
With the MATHEMATICA script
tmax = 10;
gr1 = StreamPlot[{-0.13 phi - 0.07 phi^2 - 2.83 phi^3, z}, {z, -1, 1}, {phi, -1, 1}];
sol = NDSolve[
{phi'[t] == z[t],
z'[t] == -0.13 phi[t] - 0.07 phi[t]^2 - 2.83 phi[t]^3,
z[0] == 0.6, phi[0] == 0.6}, {z, phi}, {t, 0, tmax}][[1]];
gr2 = ParametricPlot[Evaluate[{z[t], phi[t]} /. sol], {t, 0, tmax}, PlotStyle -> Red];
Show[gr1, gr2]
we get the stream flow in blue and a typical orbit in red.
$endgroup$
add a comment |
$begingroup$
With the MATHEMATICA script
tmax = 10;
gr1 = StreamPlot[{-0.13 phi - 0.07 phi^2 - 2.83 phi^3, z}, {z, -1, 1}, {phi, -1, 1}];
sol = NDSolve[
{phi'[t] == z[t],
z'[t] == -0.13 phi[t] - 0.07 phi[t]^2 - 2.83 phi[t]^3,
z[0] == 0.6, phi[0] == 0.6}, {z, phi}, {t, 0, tmax}][[1]];
gr2 = ParametricPlot[Evaluate[{z[t], phi[t]} /. sol], {t, 0, tmax}, PlotStyle -> Red];
Show[gr1, gr2]
we get the stream flow in blue and a typical orbit in red.
$endgroup$
With the MATHEMATICA script
tmax = 10;
gr1 = StreamPlot[{-0.13 phi - 0.07 phi^2 - 2.83 phi^3, z}, {z, -1, 1}, {phi, -1, 1}];
sol = NDSolve[
{phi'[t] == z[t],
z'[t] == -0.13 phi[t] - 0.07 phi[t]^2 - 2.83 phi[t]^3,
z[0] == 0.6, phi[0] == 0.6}, {z, phi}, {t, 0, tmax}][[1]];
gr2 = ParametricPlot[Evaluate[{z[t], phi[t]} /. sol], {t, 0, tmax}, PlotStyle -> Red];
Show[gr1, gr2]
we get the stream flow in blue and a typical orbit in red.
answered Dec 7 '18 at 12:53
CesareoCesareo
8,7693516
8,7693516
add a comment |
add a comment |
2
$begingroup$
You can't really, if $a, b$ and $c$ are unknown.
$endgroup$
– Rebellos
Dec 7 '18 at 9:37
$begingroup$
Welcome to MSE. Your question is phrased as an isolated problem, without any further information or context. This does not match many users' quality standards, so it may attract downvotes, or be put on hold. To prevent that, please edit the question. This will help you recognise and resolve the issues. Concretely: please provide context, and include your work and thoughts on the problem. These changes can help in formulating more appropriate answers.
$endgroup$
– José Carlos Santos
Dec 7 '18 at 9:37