Difference between revisions of "SlopeField Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
(: Maximum value for n is 99)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
;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. ''}}
  
  
Line 18: Line 18:
 
{{Notes|1=  
 
{{Notes|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.
 
:*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.
:*See also  [[SolveODE Command|SolveODE]],  [[Locus Command|Locus]], [[Integral Command|Integral]]}}
+
:*See also  [[SolveODE Command|SolveODE]],  [[Locus Command|Locus]], [[Integral Command|Integral]]
 +
:*Maximum value for n is 99
 +
}}

Latest revision as of 12:06, 26 April 2024


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 Menu view graphics.svg 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 Menu view graphics.svg Graphics View)
Notes:
© 2024 International GeoGebra Institute