Difference between revisions of "SlopeField Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + )) |
|||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|function}} | {{command|function}} | ||
+ | |||
;SlopeField[ <f(x,y)> ] | ;SlopeField[ <f(x,y)> ] | ||
:Plots a [[w:Slope_field|slope field]] for the differential equation <math>\frac{dy}{dx}=f(x,y)</math> | :Plots a [[w:Slope_field|slope field]] for the differential equation <math>\frac{dy}{dx}=f(x,y)</math> | ||
:{{example|1= <code>SlopeField[x+y]</code> plots the slope field. ''}} | :{{example|1= <code>SlopeField[x+y]</code> plots the slope field. ''}} | ||
+ | |||
+ | |||
;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 Graphics View is square) or a smaller grid if not. Default is 40. | ||
+ | |||
+ | |||
;SlopeField[ <f(x,y)>, <Number n>, <Length Multiplier a> ] | ;SlopeField[ <f(x,y)>, <Number n>, <Length Multiplier a> ] | ||
:Plots a slopefield for the differential equation <math>\frac{dy}{dx}=f(x,y)</math>. The Length Multiplier 0<a≤1 determines how long the segments are. | :Plots a slopefield for the differential equation <math>\frac{dy}{dx}=f(x,y)</math>. 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> ] | ;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 Graphics View) |
Revision as of 14:33, 11 July 2013
- 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.