Source Latex
de la correction du devoir
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %
% Generateur automatique de devoir, %
% par Y. Morel %
% http://xymaths.free.fr %
% %
% Genere le: %
% dimanche 05 f�vrier 2012 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[10pt,onecolumn,a4paper]{article}
\usepackage[french]{babel}
\selectlanguage{francais}
\usepackage[latin1]{inputenc}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{epsf}
\usepackage{enumerate}
\usepackage{array}
\usepackage{pst-all}
% Raccourcis diverses:
\newcommand{\nwc}{\newcommand}
\nwc{\dsp}{\displaystyle}
\nwc{\bge}{\begin{equation}}\nwc{\ene}{\end{equation}}
\nwc{\bgar}{\begin{array}}\nwc{\enar}{\end{array}}
\nwc{\bgit}{\begin{itemize}}\nwc{\enit}{\end{itemize}}
\nwc{\bgen}{\begin{enumerate}}\nwc{\enen}{\end{enumerate}}
\nwc{\la}{\left\{}\nwc{\ra}{\right\}}
\nwc{\lp}{\left(}\nwc{\rp}{\right)}
\nwc{\lb}{\left[}\nwc{\rb}{\right]}
\nwc{\ul}{\underline}
\nwc{\tm}{\times}
\nwc{\V}{\overrightarrow}
\newcommand{\zb}{\mbox{$0\hspace{-0.67em}\mid$}}
\newcommand{\db}{\mbox{$\hspace{0.1em}|\hspace{-0.67em}\mid$}}
\newcommand{\ct}{\centerline}
\nwc{\bgsk}{\bigskip}
\nwc{\vsp}{\vspace{0.1cm}}
\nwc{\vspd}{\vspace{0.2cm}}
\nwc{\vspt}{\vspace{0.3cm}}
\nwc{\vspq}{\vspace{0.4cm}}
\def\N{{\rm I\kern-.1567em N}} % Doppel-N
\def\D{{\rm I\kern-.1567em D}} % Doppel-N
\def\R{{\rm I\kern-.1567em R}} % Doppel R
\def\C{{\rm C\kern-4.7pt % Doppel C
\vrule height 7.7pt width 0.4pt depth -0.5pt \phantom {.}}}
\def\Q{\mathbb{Q}}
\def\Z{{\sf Z\kern-4.5pt Z}} % Doppel Z
\def\euro{\mbox{\raisebox{.25ex}{{\it =}}\hspace{-.5em}{\sf C}}}
\newcounter{nex}[section]\setcounter{nex}{0}
\newenvironment{EX}{%
\stepcounter{nex}
\bgsk{\noindent{{\bf Exercice }}\arabic{nex}}\hspace{0.5cm}
}{}
\nwc{\bgex}{\begin{EX}}\nwc{\enex}{\end{EX}}
\nwc{\bgfg}{\begin{figure}}\nwc{\enfg}{\end{figure}}
\nwc{\epsx}{\epsfxsize}\nwc{\epsy}{\epsfysize}
\nwc{\bgmp}{\begin{minipage}}\nwc{\enmp}{\end{minipage}}
\newenvironment{centerpage}{\vspace*{\fill}}{
\protect\vspace*{\fill}}
\setlength{\columnsep}{30pt} % default=10pt
\setlength{\columnseprule}{1pt} % default=0pt (no line)
\setlength{\headsep}{0in} % default=0.35in
\setlength{\parskip}{0ex}
\setlength{\parindent}{0mm}
\voffset=-1cm
\textheight=26.8cm
\textwidth=18.5cm
\topmargin=0cm
\headheight=-0.cm
\footskip=1.cm
\oddsidemargin=-1.cm
\usepackage{ifthen}
\usepackage{fancyhdr}
\pagestyle{fancyplain}
\setlength{\headheight}{0cm}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\lhead{}\chead{}\rhead{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\ifthenelse{\pageref{LastPage}=1}
{\pagestyle{empty}}%
{%
\lfoot{}\cfoot{}\rfoot{\thepage/\pageref{LastPage}}}
\ct{\bf\LARGE{Corrig\'e du devoir de math\'ematiques}}
\bgex
a)\ $f'(x)=5x^4+3$
\hspace{1cm}
b)\ $g'(x)=24x^7-\dfrac{1}{x^2}$
\hspace{1cm}
c)\ $h'(x)=-\dfrac{3}{(3x-2)^2}$
\hspace{1cm}
d)\ $k'(x)=\dfrac{13}{(2x+3)^2}$
\enex
\bgex
\par
\psset{unit=0.8cm}
\begin{pspicture}(-5,-4)(5,7.5)
\psline[linewidth=1.4pt]{->}(-4.3,0)(5.3,0)
\psline[linewidth=1.4pt]{->}(0,-4.2)(0,7.5)
\multido{\i=-4+1}{10}{
\psline[linewidth=0.4pt,linestyle=dashed](\i,-4.2)(\i,7.2)
}
\multido{\i=-4+1}{12}{
\psline[linewidth=0.4pt,linestyle=dashed](-4,\i)(5.1,\i)
}
\psplot[linewidth=1.2pt]{-2.2}{3.2}{x -0.5 add 2 exp 0.75 add}
\psplot{-3}{4.8}{x}\rput(1,1){$\tm$}
\psline[linestyle=dashed](1,-1)(1,4)
\rput(4.7,4.2){$T_1$}
\psplot{-2.5}{1.5}{-3 x mul}
\psline[linestyle=dashed](-1,-1)(-1,4)
\rput(1.5,-3.4){$T_2$}
\psplot{-0.5}{3.4}{3 x mul -3 add}
\psline[linestyle=dashed](2,-1)(2,4)
\rput(-0.5,-3.5){$T_3$}
\end{pspicture}
\enex
\bgex
\bgen
\item $f'(x)=3x^2-8x+2$.
\item $T_1: y=f'(1)(x-1)+f(1)$,
avec $f'(1)=-3$ et $f(1)=-2$,
d'o\`u, \ul{$T_1: y=-3(x-1)-2=-3x+1$}.
\vspd
$T_0: y=f'(0)(x-0)+f(0)$,
avec $f'(0)=2$ et $f(0)=-1$,
d'o\`u, \ul{$T_0: y=2(x-0)-1=2x-1$}.
\vspd
$T_{-1}: y=f'(-1)(x-(-1))+f(-1)$,
avec $f'(-1)=13$ et $f(-1)=-8$,
d'o\`u, \ul{$T_0: y=13(x+1)-8=13x+5$}.
\item \
\begin{pspicture}(-3,-5.5)(4,2.8)
\psline[arrowsize=5pt]{->}(-3,0)(4,0)
\psline[arrowsize=5pt]{->}(0,-5)(0,2.5)
\rput(-0.2,-0.2){$O$}
\psline(2,-0.1)(2,0.1)\rput(2,0.3){2}
\psline(-1,-0.1)(-1,0.1)\rput(-1,0.3){-1}
\psline(-0.1,-1)(0.1,-1)\rput(-0.3,-1){-1}
\psline(-0.1,-2)(0.1,-2)\rput(-0.3,-2){-2}
\psline(-0.1,-3)(0.1,-3)\rput(-0.3,-3){-3}
\psline(-0.1,1)(0.1,1)\rput(-0.3,1){1}
\psplot[plotpoints=200]{-0.8}{2.8}{x 3 exp -4 x 2 exp mul add 2 x mul add -1 add}
\rput(-0.85,-3.9){$\mathcal{C}_f$}
% T_1
\psplot{-0.6}{2.5}{-3 x mul 1 add}
\psline[linestyle=dashed](1,0)(1,-2)(0,-2)\rput(1,0.3){1}
\rput(-0.6,1.8){$T_1$}
% T_0
\psplot{-2}{1.9}{2 x mul -1 add}
\rput(1.8,1.8){$T_0$}
% T_{-1}
%\psplot{-2}{3}{13 x mul 5 add}
%\psline[linestyle=dashed](-1,0)(-1,-8)
\end{pspicture}
\enen
\enex
\label{LastPage}
\end{document}
Télécharger le fichier source