C3 TP2

C_1

C_2

T_2

T_1

Afficher la distance PQ

f(x) = exp(x)
g(x) = exp(-x)
a = 1.3 (slider from -4 to 7, step 0.1)
A: (a, 0)
b = OrthogonalLine(A, xAxis)
M = Intersect(f, b, (1.3, 3.6692966676192444))
c = Segment(M, A)
N = Intersect(g, c, (1.3, 0.2725317930340126))
d = Tangent(M, f)
P = Intersect(d, xAxis)
e = Tangent(M, g)
Q = Intersect(xAxis, e)
h = Segment(P, Q)
distancePQ = Distance(P, Q)
TextePQ: Name[P] + (Name[Q]) + " \, = \, " + distancePQ
i = false