Parabola

Constructs a parabola. The general function of a parabola is f(x)=ax2+bx+c, with a0; or, completing the square, f(x)=ax+b2a2+4ac-b24a

Syntax

parabola(Real, Point, Vector)
parabola(Real, Point)
parabola(Real, Vector)
parabola(Real)

Description

Given a real p, a point V and a vector v, constructs a parabola with focal semidistance equal to pLaTeXp, vertex at point VLaTeXV and direction given by vLaTeXv.

calc.parabola1.calc.png

Given a real pLaTeXp and a point VLaTeXV, constructs a parabola with focal semidistance equal to pLaTeXp, vertex at point VLaTeXV and direction given by [0,1].

calc.parabola2.calc.png

Given a real pLaTeXp and a vector vLaTeXv, constructs a parabola with focal semidistance equal to pLaTeXp, vertex at the origin and direction given by vLaTeXv.

calc.parabola3.calc.png

Given a real pLaTeXp, constructs a parabola with focal semidistance equal to pLaTeXp, vertex at the origin and direction given by [0,1]LaTeX[0,1].

calc.parabola4.calc.png