Thank you! That worked. I'm a novice and learning as I go. I now have this code functioning:
fxsquared[x_] := x^2
Manipulate[Plot[fxsquared[x], {x, a, b}], {a, 1, 5}, {b, 1, 5}]
I want to also show a point on the plot as a function of a and b. I've read through the documentation on Prolog and Point and this is what I've tried:
fxsquared[x_] := x^2
\[Xi] := (a + b)/2
Manipulate[
Plot[fxsquared[x], {x, a, b},
Prolog -> {Red, PointSize[0.02], Point[{\[Xi], fxsquared[\[Xi]]}]},
PlotRange -> {{0, 5}, {0, 25}}], {a, 1, 5}, {b, 1, 5}]
This lets me manipulate the fxsquared plot, but Xi shows as a fixed point that doesn't change as I change the values of a and b.
Can you give me any guidance on how to do this? Again, many thanks for the help. I'm learning ...