I am a rookie in the use of Mathematica. How do I place a label next to the point where two lines intersect?
q[x_] := Q - (7 Q x)/(4 L) + (3 Q x^2)/(4 L^2) /. {Q -> 1, L -> 1}
line1 = Line[{{0, Q/2}, {L/3, Q/2}}] /. {Q -> 1, L -> 1};
line2 = Line[{{L/3, 0}, {L/3, Q/2}}] /. {Q -> 1, L -> 1};
Show[
Plot[q[x], {x, 0, 1},
Epilog -> {Directive[{Thick, Red, Dashed}], line1, line2}],
AxesLabel -> {HoldForm[Posição na Barra], HoldForm[Carga]},
PlotLabel -> HoldForm[Distribuição da Carga na Barra],
LabelStyle -> {GrayLevel[0]}]



InsetorTextcontaining the label in theEpilogfor your plot. Specify the inset position using the coordinates of the intersection point, which you already know. – MarcoB Jun 04 '16 at 02:46