GeoGebra

FormulaText Command

Jump to: navigation, search
Command Descriptions
A

Angle AffineRatio AngleBisector Append Arc Area Asymptote Axes AxisStepX AxisStepY

B

BarChart BinomialCoefficient BoxPlot

C

CellRange Center Centroid Circle CircularArc CircularSector CircumcircularArc CircumcircularSector Circumference Column ColumnName Conic ConjugateDiameter ConstructionStep Corner CorrelationCoefficient CountIf Covariance CrossRatio Curvature CurvatureVector Curve

D

Delete Derivative Determinant Dilate Direction Directrix Distance Div

E

Element Ellipse Expand Extremum

F

Factor First FitExp FitLine FitLineX FitLog FitLogistic FitPoly FitPow FitSin Focus FormulaText FractionText Function

G

GCD

H

Histogram Hyperbola

I

If InflectionPoint Insert Integral Intersect Intersection InverseNormal Invert IsDefined IsInteger Iteration IterationList

J

Join

K

KeepIf

L

Last LCM Length LetterToUnicode Line LinearEccentricity Locus LowerSum

M

MajorAxis Max Mean MeanX MeanY Median Midpoint Min MinorAxis Mod Mode

N

Name Normal

O

Object OsculatingCircle

P

Parabola Parameter Perimeter PerpendicularBisector PerpendicularLine PerpendicularVector Point Polar Polygon Polynomial Product

Q

Q1 Q3

R

Radius RandomBetween RandomBinomial RandomNormal RandomPoisson Ray Reflect Relation RemoveUndefined Reverse Root Rotate

S

Row SD Sector Segment Semicircle SemiMajorAxisLength SemiMinorAxisLength Sequence SigmaXX SigmaXY SigmaYY Simplify Slope Sort Sum Sxx Sxy Syy

T

TableText Take Tangent TaylorPolynomial Text TextToUnicode Translate Transpose TrapezoidalSum

U

UnicodeToLetter UnicodeToText Union UnitPerpendicularVector UnitVector UpperSum

V

Variance Vector Vertex

Syntax

  • FormulaText[object O]
  • FormulaText[object O, boolean B]

Action

Returns the formula for the object as a LaTeX text. If B is true (or not set), values are substituted for the terms, otherwise they are represented by their names.


FormulaText[Object, Boolean]: Returns the formula for the object as LaTeX text. The Boolean variable determines if values are substituted for variables (true) or if variable names are shown in the text (false).

Examples

If a = 2 and f(x) = a x^2, then

  • FormulaText[f] returns 2 x^2 (as a LaTeX text).
  • FormulaText[f, true] returns 2 x^2 (as a LaTeX text).
  • FormulaText[f, false] returns a x^2 (as a LaTeX text).

Notes

Quick way to show formula of an object O is to type

""+O 

into the input bar. Using this for a polynomial function creates spaces between variable and coefficients, unlike FormulaText.

See also