I am trying to add a point in a plot where the curve intercepts the x axis i.e. f[x] = 0 I tried doing an epilog inside an if statement in Plot[] , and it didn't work. here is my code so far
f[pi_, p_] = (10)*(p - pi);
g[p_] = 10*(p);
Manipulate[Plot[{f[pi, p], g[p]}, {p, 0, 50}, PlotLabels -> {"Water & slat", "Pure Water"}, AxesLabel -> {\[CapitalDelta]P, Solvent - Flux}, LabelStyle -> Directive[Bold, Medium],AxesStyle -> Directive[Black], AxesOrigin -> {0, 0}], {pi, 10, 100}, {p, 0, 40}]
Epilog
, you could use the mesh options, e.g.,Plot[.., MeshFunctions->{#2&}, Mesh->{{0}}, MeshStyle->Directive[PointSize[Large],Red]]
$\endgroup$