Difference between revisions of "Triangular Command"

From GeoGebra Manual
Jump to: navigation, search
Line 3: Line 3:
 
;Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, x ]
 
;Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, x ]
 
:Creates probability density function (pdf) of [[w:Triangular distribution|triangular distribution]] with parameters ''min, max, mod''.
 
:Creates probability density function (pdf) of [[w:Triangular distribution|triangular distribution]] with parameters ''min, max, mod''.
;triangularDistribution[ <Numerator Degrees of Freedom>, <Denominator Degrees of Freedom>, x, <Boolean Cumulative> ]
+
;Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, x, <Boolean Cumulative> ]
 
:If ''Cumulative'' is true, creates cumulative density function of triangular distribution, otherwise creates pdf of triangular distribution.
 
:If ''Cumulative'' is true, creates cumulative density function of triangular distribution, otherwise creates pdf of triangular distribution.
 
; Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, <Variable Value v> ]: Calculates the value of cumulative distribution function of triangular distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with triangular distribution given by parameters ''min, max, mod''.
 
; Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, <Variable Value v> ]: Calculates the value of cumulative distribution function of triangular distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with triangular distribution given by parameters ''min, max, mod''.
Line 9: Line 9:
 
==CAS Syntaxes==
 
==CAS Syntaxes==
 
In [[CAS View]] only following syntax is supported:
 
In [[CAS View]] only following syntax is supported:
;triangularDistribution[<Number α>, <Number β>, <Variable Value v>]
+
;Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, <Variable Value v>]
 
:Calculates the value of cumulative distribution function of triangular distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with triangular distribution given by parameters ''min, max, mod''.
 
:Calculates the value of cumulative distribution function of triangular distribution at ''v'', i.e. the probability ''P(X≤v)'' where ''X'' is a random variable with triangular distribution given by parameters ''min, max, mod''.

Revision as of 12:51, 21 July 2011



Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, x ]
Creates probability density function (pdf) of triangular distribution with parameters min, max, mod.
Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, x, <Boolean Cumulative> ]
If Cumulative is true, creates cumulative density function of triangular distribution, otherwise creates pdf of triangular distribution.
Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, <Variable Value v> ]
Calculates the value of cumulative distribution function of triangular distribution at v, i.e. the probability P(X≤v) where X is a random variable with triangular distribution given by parameters min, max, mod.
Note: Returns the probability for a given x-coordinate's value (or area under the triangular distribution curve to the left of the given x-coordinate).

CAS Syntaxes

In CAS View only following syntax is supported:

Triangular[ <Lower Bound min>, <Upper Bound max>, <Mode mod>, <Variable Value v>]
Calculates the value of cumulative distribution function of triangular distribution at v, i.e. the probability P(X≤v) where X is a random variable with triangular distribution given by parameters min, max, mod.
© 2021 International GeoGebra Institute