Linked Questions

0
votes
1answer
1k views

Plotting Direction Field for Differential Equation [duplicate]

How would I solve this problem? Plot a direction field for the differential equation dy/dx=sin(x^2+y^2)log(|x+y|) when -1< x, y< 1 Intervals of the plot must be all the same length and the ...
-1
votes
1answer
1k views

StreamPlot a differential equation [duplicate]

How do I StreamPlot the differential equation $\frac{dy}{dx} = \sin (y)$ in Mathematica. I get blank axes each time. I don't quite understand the documentation ...
0
votes
0answers
69 views

Graphics elements in a 2D lattice [duplicate]

I'm trying to write a small piece of code that will take the RHS of a first order linear ODE and return a slope field sampled at a few points. I have written: ...
0
votes
2answers
52 views

How to construct the direction field for y' = y- cos\[Pi]/2x [duplicate]

How to construct the direction field for y' = y -cos π/2 x I have tried the Plot function Plot[Derivative[1][y][x] == y[x] - (cos π x)/2, y[x], x]
5
votes
3answers
1k views

Plotting the direction field of a differential equation

I have to sketch the direction field for the following differential equation: $$\frac{dy}{dx}=\frac{-0.02 y +0.00002 xy}{0.08 x-0.001xy}$$ This is the code I used, which gives an incorrect plot: <...
4
votes
3answers
1k views

Phase lines, vector fields, and fixed points

The differential equation I am trying to visualize the solution to is $\dot x=\sin x$. We can find the solutions to be $$-\ln|\csc x+\cot x|+C.$$ This result it correct, but hard to visualize. Looking ...
4
votes
1answer
839 views

Is there a Mathematica version of ODE tools pplane and dfield?

The toolkits dfield and pplane are staples in ODE courses. First in MATLAB, now in Java. Do they have a Mathematica expression? Sample outputs follow: @Michael E2 Your suggestions were great. Here ...
1
vote
2answers
536 views

Plotting direction fields along with trajectories

I am reading "Dynamics and Bifurcations" by Hale and Kocac, and in chapter one the following diagram is shown: Question is, how can I achieve the same plot using Mathematica? I've tried ...
2
votes
0answers
512 views

Direction Field for an Ordinary Differential Equation [duplicate]

I have found links for plot the direction field of a differential equation. For example: How can I plot the direction field for a differential equation? And: Plotting the direction field of a ...
2
votes
1answer
63 views

Problems encountered in plotting direction fields

I learned how to plot direction fields according to the answer of @Robert Jacobson to the question How can I plot the direction field for a differential equation?. However, when I tried to plot the ...