1. Generate Graphical Representation of Lagrange Mean Value theorem.

You can take the function f(x) = x(x-1)(x-2) over the itnerval [0, 1/2].

closed as off-topic by user36296, Werner, Stefan Pinnow, dexteritas, Phelype Oleinik Oct 26 '18 at 17:25

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – user36296, Werner, Stefan Pinnow, dexteritas, Phelype Oleinik
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to TeX.SE! What is precisely the question here? (Note that this is not TeXing service, but a Q & A site.) – marmot Oct 26 '18 at 15:37
  • 3
    This looks like taken directly from a homework question – user36296 Oct 26 '18 at 15:43
  • \documentclass[tikz,border=3.14mm]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.16} \begin{document} \begin{tikzpicture}[declare function={f(\x)=\x*(\x-1)*(\x-2);}] \begin{axis}[axis lines=center,enlargelimits=0.3,xlabel=$x$,ylabel=$f(x)$] \addplot[domain=0:1/2] {f(x)}; \end{axis} \end{tikzpicture} \end{document} – marmot Oct 26 '18 at 16:13

run with xelatex


\begin{psgraph}[xticksize=-4pt 0,Dx=0.2,Dy=0.2,
   \psplot[linewidth=2pt,linecolor=blue,algebraic]{0}{0.5}{x*(x-1)*(x-2) }


enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.