% !TeX TXS-program:compile = txs:///pdflatex

\documentclass[margin=5mm]{standalone}
\usepackage[nonpgfplots]{tkz-grapheur}

\begin{document}
\begin{GraphiqueTikz}[x=1cm,y=20cm,Xmin=0,Xmax=11.8,Xgrilles=1,Ymin=-0.04,Ymax=0.24,Ygrille=0.05,Ygrilles=0.05]
  \TracerAxesGrilles[Derriere]{0,1,...,11}{0,0.05,0.10,0.15,0.2}
  \DefinirCourbe[Nom=cf,Debut=0.5,Trace,Couleur=red]<f>{ln(x)/x^2}
  \RepresenterMethodeIntegrale[Couleur=teal,NbSubDiv=8,Opacite=0.5]<f>{2}{10}
  \draw[pflfigureintegr] (1,0) rectangle++ (1,{1/(2*exp(1))}) ;
  \TrouverMaximum[Debut=1,Fin=2]{f}[cf-max]
  \MarquerPts*[Couleur=blue,Style=x]{(cf-max)}
  \PlacerTexte[Police=\large,Couleur=red]{(10.5,0.0375)}{$\mathcal{C}_f$}
  \TracerAxesGrilles*[Devant,Origine]{0,1,...,11}{0,0.05,0.10,0.15,0.2}
\end{GraphiqueTikz}

\end{document}
