Difference between revisions of "PathParameter Command"

From GeoGebra Manual
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|function}}
{{command|function}}
 
 
;PathParameter[ <Point On Path> ]
 
;PathParameter[ <Point On Path> ]
 
:Returns the parameter (i.e. a number ranging from ''0'' to ''1'') of the point that belongs to a [[Geometric Objects#Paths|path]].
 
:Returns the parameter (i.e. a number ranging from ''0'' to ''1'') of the point that belongs to a [[Geometric Objects#Paths|path]].
 
:{{example| 1=<div>Let <code><nowiki>f(x) = x² + x - 1</nowiki></code> and <code><nowiki>A = (1, 1)</nowiki></code> is a point attached to this function. <br><code><nowiki>PathParameter[A]</nowiki></code> yields ''a = 0.47''.</div>}}
 
:{{example| 1=<div>Let <code><nowiki>f(x) = x² + x - 1</nowiki></code> and <code><nowiki>A = (1, 1)</nowiki></code> is a point attached to this function. <br><code><nowiki>PathParameter[A]</nowiki></code> yields ''a = 0.47''.</div>}}

Revision as of 15:52, 6 August 2015


PathParameter[ <Point On Path> ]
Returns the parameter (i.e. a number ranging from 0 to 1) of the point that belongs to a path.
Example:
Let f(x) = x² + x - 1 and A = (1, 1) is a point attached to this function.
PathParameter[A] yields a = 0.47.
© 2024 International GeoGebra Institute