Difference between revisions of "SlopeField Command"
From GeoGebra Manual
m |
m |
||
Line 6: | Line 6: | ||
;SlopeField[ <f(x,y)>, <Number n> ] | ;SlopeField[ <f(x,y)>, <Number n> ] | ||
− | :Plots a slopefield for the differential equation <math>\frac{dy}{dx}=f(x,y)</math> on an n by n grid (if the Graphics View is square) or a smaller grid if not. Default is 40. | + | :Plots a slopefield for the differential equation <math>\frac{dy}{dx}=f(x,y)</math> on an n by n grid (if the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]] is square) or a smaller grid if not. Default is 40. |
Line 14: | Line 14: | ||
;SlopeField[ <f(x,y)>, <Number n>, <Length Multiplier a>, <Min x>, <Min y>, <Max x>, <Max y> ] | ;SlopeField[ <f(x,y)>, <Number n>, <Length Multiplier a>, <Min x>, <Min y>, <Max x>, <Max y> ] | ||
− | :Plots a slopefield for the differential equation <math>\frac{dy}{dx}=f(x,y)</math> inside the specified rectangle (rather than filling the Graphics View) | + | :Plots a slopefield for the differential equation <math>\frac{dy}{dx}=f(x,y)</math> inside the specified rectangle (rather than filling the [[File:Menu view graphics.svg|link=|16px]] [[Graphics View]]) |
{{Note|1= Use the following tools: [[File:Mode translateview.svg|link=|22px]] [[Move_Graphics_View_Tool|Move Graphics View]], [[File:Mode zoomin.svg|link=|22px]] [[Zoom_In_Tool|Zoom In]], [[File:Mode zoomout.svg|link=|22px]] [[Zoom_Out_Tool|Zoom Out]] and observe the effect.}} | {{Note|1= Use the following tools: [[File:Mode translateview.svg|link=|22px]] [[Move_Graphics_View_Tool|Move Graphics View]], [[File:Mode zoomin.svg|link=|22px]] [[Zoom_In_Tool|Zoom In]], [[File:Mode zoomout.svg|link=|22px]] [[Zoom_Out_Tool|Zoom Out]] and observe the effect.}} | ||
{{Note|1= See also [[SolveODE Command|SolveODE]], [[Locus Command|Locus]], [[Integral Command|Integral]]}} | {{Note|1= See also [[SolveODE Command|SolveODE]], [[Locus Command|Locus]], [[Integral Command|Integral]]}} |
Revision as of 16:13, 9 September 2015
- 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.