%%!TEX TS-program = latex
\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\usepackage[autolanguage]{numprint}
\usepackage[fleqn]{amsmath}
\usepackage{amssymb,multicol,calc,vmargin,cancel,fancyhdr,units,pst-eucl,wrapfig,wasysym,pst-plot,tabularx,textcomp}
\input{/usr/lib/pyromaths/modeles/tabvar.tex}

\setmarginsrb{1.5cm}{1.5cm}{1.5cm}{1.5cm}{.5cm}{.5cm}{.5cm}{1.cm}
\newcounter{exo}
\setlength{\headheight}{18pt}
\setlength{\fboxsep}{1em}
\setlength\parindent{0em}
\setlength\mathindent{0em}
\setlength{\columnsep}{30pt}
\usepackage[ps2pdf,pagebackref=true,colorlinks=true,linkcolor=blue,plainpages=true]{hyperref}
\hypersetup{pdfauthor={Jérôme Ortais},pdfsubject={Exercices de
    mathématiques},pdftitle={Exercices créés par Pyromaths, un programme
    en Python de Jérôme Ortais}}
\makeatletter
\newcommand\styleexo[1][]{
  \renewcommand{\theenumi}{\arabic{enumi}}
  \renewcommand{\labelenumi}{$\blacktriangleright$\textbf{\theenumi.}}
  \renewcommand{\theenumii}{\alph{enumii}}
  \renewcommand{\labelenumii}{\textbf{\theenumii)}}
  {\fontfamily{pag}\fontseries{b}\selectfont \underline{#1 \theexo}}
  \par\@afterheading\vspace{0.5\baselineskip minus 0.2\baselineskip}}
\newcommand*\exercice{%
  \psset{unit=1cm}
  %\ifthenelse{\equal{\theexo}{0}}{}{\filbreak}
  \refstepcounter{exo}%
  \stepcounter{nocalcul}%
  \par\addvspace{1.5\baselineskip minus 1\baselineskip}%
  \@ifstar%
  {\penalty-130\styleexo[Corrigé de l'exercice]}%
  {\penalty-130\styleexo[Exercice]}%
  }
\makeatother
\newlength{\ltxt}
\newcounter{fig}
\newcommand{\figureadroite}[2]{
  \setlength{\ltxt}{\linewidth}
  \setbox\thefig=\hbox{#1}
  \addtolength{\ltxt}{-\wd\thefig}
  \addtolength{\ltxt}{-10pt}
  \begin{minipage}{\ltxt}
    #2
  \end{minipage}
  \hfill
  \begin{minipage}{\wd\thefig}
    #1
  \end{minipage}
  \refstepcounter{fig}
  }
\count1=\year \count2=\year
\ifnum\month<8\advance\count1by-1\else\advance\count2by1\fi
\pagestyle{fancy}
\cfoot{\textsl{\footnotesize{Année \number\count1/\number\count2}}}
\rfoot{\textsl{\tiny{http://www.pyromaths.org}}}
\lhead{\textsl{\footnotesize{Page \thepage/ \pageref{LastPage}}}}
\chead{\Large{\textsc{Fiche de révisions}}}
\rhead{\textsl{\footnotesize{Classe de 4\ieme}}}
\DecimalMathComma
\begin{document}
  \newcounter{nocalcul}[exo]
  \renewcommand{\thenocalcul}{\Alph{nocalcul}}
  \raggedcolumns
  \setlength{\columnseprule}{0.5pt}

  \exercice
  Effectuer les calculs suivants et donner le résultat sous la forme d'une
  fraction simplifiée :
  \begin{multicols}{3}
    \noindent%
    \[\thenocalcul = \dfrac{7}{12} \div  \big( \dfrac{-11}{15} + \dfrac{8}{15}
      \big) \]
    \stepcounter{nocalcul}%
    \[\thenocalcul = \dfrac{-1}{11} \times  \big( \dfrac{15}{23} +
      \dfrac{8}{23} \big) \]
    \stepcounter{nocalcul}%
    \[\thenocalcul = \dfrac{8}{9} - \dfrac{-10}{7} \div \dfrac{6}{35}\]
    \stepcounter{nocalcul}%
    \[\thenocalcul = \dfrac{-3}{4} \div \dfrac{-7}{16} \times \dfrac{14}{39}\]
    \stepcounter{nocalcul}%
    \[\thenocalcul = \dfrac{11}{16} \div \dfrac{5}{36} + \dfrac{13}{20}\]
    \stepcounter{nocalcul}%
    \[\thenocalcul = \dfrac{-2}{3} \div \dfrac{-8}{21} - \dfrac{-9}{4}\]
    \stepcounter{nocalcul}%
  \end{multicols}


  \exercice
  \begin{multicols}{2}
    \begin{enumerate}
    \item $FPO$ est un triangle rectangle en $F$ tel que :\par
      $OP=\unit[2{,}1]{cm}$ et $\widehat{FOP}=60\degres$.\par
      Calculer la longueur $FO$.\par
      \columnbreak
    \item $JYX$ est un triangle rectangle en $X$ tel que :\par
      $XJ=\unit[5]{cm}$ et $JY=\unit[5{,}4]{cm}$.\par
      Calculer la mesure de l'angle $\widehat{XJY}$.\par
    \end{enumerate}
  \end{multicols}

  \exercice
  \figureadroite{
    \psset{PointSymbol=x,unit=0.35}
    \begin{pspicture}(-1.5,-1.5)(9.69,3.69)
      \SpecialCoor
      \pstTriangle[PosAngleA=225,PosAngleB=-45,PosAngleC=82.13,PointNameA=U,
      PointNameB=D,PointNameC=E](0,0){a}(8.19,0){b}(5.3;37.13){c}
      \pstTriangle[PosAngleB=-45,PosAngleC=127.13,PointSymbolA=none,
      PointName=none,PointNameB=S,PointNameC=F](0,0){a}(4.5,0){b}(2.9;37.13){c}
    \end{pspicture}
    }
  {Sur la figure ci-contre, les droites $(DE)\text{ et }(SF)$ sont
    parallèles.\par
    On donne $UE=\unit[5{,}3]{cm},\quad DE=\unit[5{,}1]{cm}, \quad
    US=\unit[4{,}5]{cm}\quad\text{et}\quad SF~=~\unit[2{,}8]{cm}$.\par
    Calculer $UD\text{ et }UF$.}


  \exercice
  Soit $YKJ$ un triangle tel que : $\quad YK=\unit[6]{cm}\quad$, $\quad
  JK=\unit[6{,}3]{cm}\quad$ et $\quad JY=\unit[8{,}7]{cm}$.\par
  Quelle est la nature du triangle $YKJ$?


  \exercice
  \begin{minipage}{4cm}
    \begin{pspicture}(-2,-2)(2,2)
      \SpecialCoor\psset{PointSymbol=x}
      \pstGeonode[PointName=Y,PosAngle=108](1.5;108){a}
      \pstGeonode[PointName=F,PosAngle=288](1.5;288){b}
      \pstGeonode[PointName=A,PosAngle=259.49](1.5;259.49){c}
      \pspolygon(a)(b)(c)\pscircle(0,0){1.5}
      \rput(1.8;18){$\big(\mathcal{C}\big)$}
    \end{pspicture}
  \end{minipage}\hfill
  \begin{minipage}{13cm}
    $\big(\mathcal{C}\big)$ est un cercle de diamètre $[YF]$ et $A$ est un
    point de $\big(\mathcal{C}\big)$.\par
    On donne $YA=\unit[6{,}3]{cm}\text{ et }YF=\unit[6{,}5]{cm}$.\par
    Calculer la longueur $FA$.
  \end{minipage}

  \label{LastPage}
\end{document}