# SlopeField Command

From GeoGebra Manual

Revision as of 16:43, 2 July 2012 by Andrea.duringer (talk | contribs)

This page is about a feature that is supported only in GeoGebra 4.2. |

- SlopeField[ <f(x,y)> ]
- Plots a slope field for the differential equation \frac{dy}{dx}=f(x,y)
**Example:**`SlopeField[x+y]`

plots the slope field.

- SlopeField[ <f(x,y)>, <Number n> ]
- Plots a slopefield for the differential equation \frac{dy}{dx}=f(x,y) on an n by n grid (if the Graphics View is square) or a smaller grid if not. Default is 40.
- SlopeField[ <f(x,y)>, <Number n>, <Length Multiplier a> ]
- Plots a slopefield for the differential equation \frac{dy}{dx}=f(x,y). The Length Multiplier 0<a≤1 determines how long the segments are.
- SlopeField[ <f(x,y)>, <Number n>, <Length Multiplier a>, <Min x>, <Min y>, <Max x>, <Max y> ]
- Plots a slopefield for the differential equation \frac{dy}{dx}=f(x,y) inside the specified rectangle (rather than filling the Graphics View)

**Note:**Use the following tools: Move Graphics View, Zoom In, Zoom Out and observe the effect.

**Note:**See also SolveODE