📝 Code source du fichier LaTeX

📄 23matj1ja1-exo3.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.75cm,y=0.75cm,xmin=-1,xmax=17,xgrille=1,xgrilles=0.5,ymin=-2,ymax=9,ygrille=1,ygrilles=0.5]
	\GrilleTikz[Affs=false]
	\AxesTikz[ElargirOx=0/0,ElargirOy=0/0] \AxexTikz{1,2,...,16} \AxeyTikz[AffOrigine=false]{-2,-1,...,8}
	\OrigineTikz
	\clip (\xmin,\ymin) rectangle (\xmax,\ymax) ;
	\draw[very thick,red,samples=250,domain=0.1:\xmax] plot (\x,{ln(\x)}) ;
	\draw[red] (9,3) node[font=\Large] {$y=\ln(x)$} ;
	\draw[thick,blue,samples=2,domain=0:\xmax] plot (\x,\x) ;
	\draw[blue] (5,6.5) node[font=\Large] {$y=x$} ;
	\draw[thick,CouleurVertForet,samples=2,domain=0:\xmax] plot (\x,{0.2*\x}) ;
	\draw[CouleurVertForet] (5.5,0.5) node[font=\Large] {$y=0,2x$} ;
\end{tikzpicture}

\end{document}