📝 Code source du fichier LaTeX

📄 22matj1me3-exo1.tex

↩ Retour 💾 Fichier tex 📦 Sur la Forge

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

\documentclass[margin=5mm]{standalone}
\usepackage{ProfLycee}

\begin{document}

\begin{tikzpicture}[x=0.8cm,y=0.8cm,xmin=-7,xmax=3,xgrille=1,xgrilles=0.5,ymin=-6,ymax=4,ygrille=1,ygrilles=0.5]
	\GrilleTikz \AxesTikz[ElargirOx=0/0,ElargirOy=0/0]
	\AxexTikz[AffGrad=false]{-6,-5,...,2} \AxeyTikz[AffGrad=false]{-5,-4,...,3}
	\draw (1,-4pt) node[below,font=\small] {1} ;
	\draw (2,-4pt) node[below,font=\small] {2} ;
	\draw (0,0) node[below left,font=\small] {0} ;
	\draw (-1,-4pt) node[below,font=\small] {$-1$} ;
	\draw (-4pt,1) node[left,font=\small] {1} ;
	\draw (-5,0.25) node[above left,red,font=\large] {$\mathcal{C}''$} ;
	\clip (\xmin,\ymin) rectangle (\xmax,\ymax) ;
	\draw[very thick,red,samples=250,domain=-7:2.25] plot (\x,{(\x+1)*(\x-2)*exp(\x)}) ;
\end{tikzpicture}

\end{document}