Pendent i ordenada a l'origen de la recta
Author: Pep Bujosa

Fórmula de la recta

Coordenades

Triangle

CampDeText1 = Textfield(a)
A = Intersect(a, yAxis)
P = Point(a)
C: (x(P), 0)
D: (0, y(P))
b = Segment(P, C)
c = Segment(P, D)
d = false
e: y = y(A)
f: x = x(P)
E = Intersect(e, f)
Polígon1, e_1, b_1, a_1 = Polygon(P, A, E)
g = false
B = Midpoint(b_1)
F = Midpoint(a_1)
text1: "" + (y(P) - y(E)) + ""
text2: "" + (x(E)) + ""