% Created 2025-09-18 jeu. 18:25
% Intended LaTeX compiler: pdflatex
\documentclass[10pt, tsi]{article}
          \usepackage[couleur,draft]{/home/basile/Latex/Headfiles/dip2}
                  \newlength{\recultitre}
\geometry{hmargin = 5em, tmargin = 5em, bmargin = 3.5em}
\setlength{\recultitre}{-8em}
\pgfplotsset{compat=1.16}
\usepackage{titling}
\pretitle{\vspace*{\recultitre}\begin{center}\Large\hrule\vspace*{.5em}\scshape}
\posttitle{\vspace*{.4em}\hrule\par\end{center}}
\preauthor{}
\postauthor{}
\predate{}
\postdate{}
\newcommand{\inlinemaketitle}{{\let\newpage\relax\maketitle}}
\usepackage{listingsutf8}
\renewcommand{\ttdefault}{pcr}
\lstset{%
inputencoding=utf8,
extendedchars=true,
literate=%
{é}{{\'{e}}}1
{è}{{\`{e}}}1
{ê}{{\^{e}}}1
{ë}{{\¨{e}}}1
{É}{{\'{E}}}1
{Ê}{{\^{E}}}1
{û}{{\^{u}}}1
{ù}{{\`{u}}}1
{â}{{\^{a}}}1
{à}{{\`{a}}}1
{á}{{\'{a}}}1
{ã}{{\~{a}}}1
{Á}{{\'{A}}}1
{Â}{{\^{A}}}1
{Ã}{{\~{A}}}1
{ç}{{\c{c}}}1
{Ç}{{\c{C}}}1
{õ}{{\~{o}}}1
{ó}{{\'{o}}}1
{ô}{{\^{o}}}1
{Õ}{{\~{O}}}1
{Ó}{{\'{O}}}1
{Ô}{{\^{O}}}1
{î}{{\^{i}}}1
{Î}{{\^{I}}}1
{í}{{\'{i}}}1
{Í}{{\~{Í}}}1}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegreendark}{rgb}{0,0.3,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.98,0.98,0.95}
\definecolor{gren}{rgb}{0,0,0}
\definecolor{purple}{rgb}{0.5,0,0.5}
\definecolor{darkred}{rgb}{0.5,0,0}
\definecolor{orange}{rgb}{1,0.5,0}
\definecolor{lightgrey}{rgb}{.97,.97,.97}
\lstdefinestyle{ocamlstyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta}\bf,
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\small\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
escapeinside={-@@}{@@-},
keepspaces=true,
numbers=none,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
language=[Objective]Caml
}
\lstnewenvironment{ocaml}{\lstset{style=ocamlstyle}}{}
\lstnewenvironment{ocamlsmall}{\lstset{style=ocamlstyle, basicstyle=\footnotesize\ttfamily}}{}
\lstdefinestyle{pythonstyle}{%
language=python,
backgroundcolor=\color{white},
basicstyle=\ttfamily,
stringstyle=\color{green},
showstringspaces=false,
alsoletter={1234567890},
keywordstyle=\bf\color{blue},
emph={access,and,as,break,class,continue,def,del,elif,else,%
except,exec,finally,for,from,global,if,import,in,is,%
lambda,not,or,pass,print,raise,return,try,while,assert},
emphstyle=\bf\color{darkred},
emph={[2]self},
emphstyle=[2]\color{black},
emph={[4]ArithmeticError,AssertionError,AttributeError,BaseException,%
DeprecationWarning,EOFError,Ellipsis,EnvironmentError,Exception,%
False,FloatingPointError,FutureWarning,GeneratorExit,IOError,%
ImportError,ImportWarning,IndentationError,IndexError,KeyError,%
KeyboardInterrupt,LookupError,MemoryError,NameError,None,%
NotImplemented,NotImplementedError,OSError,OverflowError,%
PendingDeprecationWarning,ReferenceError,RuntimeError,RuntimeWarning,%
StandardError,StopIteration,SyntaxError,SyntaxWarning,SystemError,%
SystemExit,TabError,True,TypeError,UnboundLocalError,UnicodeDecodeError,%
UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,%
UserWarning,ValueError,Warning,ZeroDivisionError,abs,all,any,apply,%
basestring,bool,buffer,callable,chr,classmethod,cmp,coerce,compile,%
complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,%
execfile,exit,file,filter,float,frozenset,getattr,globals,hasattr,%
hash,help,hex,id,input,int,intern,isinstance,issubclass,iter,len,%
license,list,locals,long,map,max,min,object,oct,open,ord,pow,property,%
quit,range,raw_input,reduce,reload,repr,reversed,round,set,setattr,%
slice,sorted,staticmethod,str,sum,super,tuple,type,unichr,unicode,%
vars,xrange,zip},
emphstyle=[4]\color{purple},
upquote=true,
morecomment=[s][\color{gren}]{"""}{"""},
commentstyle=\color{red}\slshape,
inputencoding=utf8,
procnamekeys={def,class},
procnamestyle=\color{blue},
breaklines=true,
breakindent=0pt,
prebreak=\mbox{$\backslash$},
postbreak=\mbox{    }
}%
\lstnewenvironment{pythonenv}{\lstset{style=pythonstyle}}{}
\lstdefinestyle{python}{%
language=python,
frameround=tttt,
%frame=BL,
frame=single,
framerule=2pt,
rulecolor=\color{gray!80},
rulesep=.3pt,
%color=\color{black},
backgroundcolor=\color{white},
basicstyle=\ttfamily,
stringstyle=\color{green},
showstringspaces=false,
alsoletter={1234567890},
otherkeywords={\ , \}, \{},
keywordstyle=\bf\color{blue},
emph={access,and,as,break,class,continue,def,del,elif,else,%
except,exec,finally,for,from,global,if,import,in,is,%
lambda,not,or,pass,print,raise,return,try,while,assert},
emphstyle=\bf\color{darkred},
emph={[2]self},
emphstyle=[2]\color{black},
emph={[4]ArithmeticError,AssertionError,AttributeError,BaseException,%
DeprecationWarning,EOFError,Ellipsis,EnvironmentError,Exception,%
False,FloatingPointError,FutureWarning,GeneratorExit,IOError,%
ImportError,ImportWarning,IndentationError,IndexError,KeyError,%
KeyboardInterrupt,LookupError,MemoryError,NameError,None,%
NotImplemented,NotImplementedError,OSError,OverflowError,%
PendingDeprecationWarning,ReferenceError,RuntimeError,RuntimeWarning,%
StandardError,StopIteration,SyntaxError,SyntaxWarning,SystemError,%
SystemExit,TabError,True,TypeError,UnboundLocalError,UnicodeDecodeError,%
UnicodeEncodeError,UnicodeError,UnicodeTranslateError,UnicodeWarning,%
UserWarning,ValueError,Warning,ZeroDivisionError,abs,all,any,apply,%
basestring,bool,buffer,callable,chr,classmethod,cmp,coerce,compile,%
complex,copyright,credits,delattr,dict,dir,divmod,enumerate,eval,%
execfile,exit,file,filter,float,frozenset,getattr,globals,hasattr,%
hash,help,hex,id,input,int,intern,isinstance,issubclass,iter,len,%
license,list,locals,long,map,max,min,object,oct,open,ord,pow,property,%
quit,range,raw_input,reduce,reload,repr,reversed,round,set,setattr,%
slice,sorted,staticmethod,str,sum,super,tuple,type,unichr,unicode,%
vars,xrange,zip},
emphstyle=[4]\color{purple},
upquote=true,
morecomment=[s][\color{gren}]{"""}{"""},
commentstyle=\color{red}\slshape,
inputencoding=utf8,
procnamekeys={def,class},
procnamestyle=\color{blue},
breaklines=true,
breakindent=0pt,
prebreak=\mbox{$\backslash$},
postbreak=\mbox{    }
}%
\lstnewenvironment{python}{\lstset{style=python}}{}
\lstdefinestyle{sqlstyle}{
commentstyle=\color{codegreendark},
keywordstyle=\bf,
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\small\ttfamily,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=none,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
language=SQL
}
\lstnewenvironment{sql}{\lstset{style=sqlstyle}}{}
\lstdefinestyle{sql}%
{%
language=sql,
frameround=tttt,
frame=single,
framerule=1pt,
showstringspaces=false,
backgroundcolor=\color{white},
basicstyle=\ttfamily,
keywordstyle=\color{darkred}\bf,
commentstyle=\color{purple}\slshape,
stringstyle=\color{green},
emph={[2]no, column, read},
emphstyle=[2],
otherkeywords={TEXT, REFERENCES, EXISTS}
}%
\lstnewenvironment{sql1}{\lstset{style=sql}}{}
\usepackage[compact]{titlesec}
\titlespacing\section{-1em}{12pt plus 4pt minus 2pt}{5pt plus 2pt minus 2pt}
\titlespacing\subsection{3em}{8pt plus 4pt minus 2pt}{6pt plus 2pt minus 2pt}
\setcounter{secnumdepth}{3}
\date{}
\title{Semaine 3\\\medskip
\large Programme de colles}
\hypersetup{
 pdfauthor={Basile Pillet},
 pdftitle={Semaine 3},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 29.3 (Org mode 9.7.12)}, 
 pdflang={English}}
\begin{document}

\maketitle
\thispagestyle{firststyle}
\section*{Chapitre 0 : Pratique calculatoire}
\label{sec:org5c22336}
\subsection*{Polynômes du second degré}
\label{sec:orge0513a0}
\begin{multicols}{2}
\begin{itemize}
\item Solutions d'un équation polynomiale de degré 2.
\item Forme canonique.
\item Factorisation.
\item Corollaire sur le signe d'un trinome.
\end{itemize}

\end{multicols}
\subsection*{Factoriser et développer}
\label{sec:orgef8bed4}

\begin{itemize}
\item \textbf{Identités remarquables}
\end{itemize}
\subsection*{Puissances}
\label{sec:orge8dfdd9}
\begin{multicols}{2}
\begin{itemize}
\item \textbf{Relations de base} (somme d'exposants, produit d'exposants, puissance d'un produit).
\item Inverse et puissances négatives.
\item Puissances et fractions.
\end{itemize}

\end{multicols}
\subsection*{Exponentielle et logarithme}
\label{sec:orgcc75aaf}

\begin{itemize}
\item Formules d'additions et de multiplication.
\item Caractère réciproque de l'exponentielle et logarithme ; application à la résolution d'équations.
\end{itemize}
\subsection*{Racines carrés}
\label{sec:orgc9da003}

\begin{itemize}
\item \textbf{Définition}\\
(Pour \(a \in \R^+\), \(\sqrt{a}\) est l'unique nombre positif dont le carré vaut \(a\)).
\item Réfléchir avant de donner la racine de \(a^2\).
\item Proposition sur les relations de base de la racine.
\end{itemize}
\section*{Chapitre 1 : Logique}
\label{sec:orgb39b8cc}
\begin{itemize}
\item Propositions, prédicat.
\item Opérations sur les propositions : Et, Ou, Négation, Implication, Équivalence, Quantification universelle et existentielle, Unicité.
\item Contraposée.
\item Nier une propriété.
\item Méthodes de preuves : pour tout, il existe, implication, preuve par l'absurde, preuve d'unicité.
\end{itemize}
\section*{Chapitre 2 : Géométrie (que pour le cours)}
\label{sec:org40980ca}
\begin{itemize}
\item Trigonométrie
\end{itemize}
\section*{Feuille 0 et 1 : Exercices cibles}
\label{sec:org10aa71b}
\begin{multicols}{2}
\setcounter{exo}{13}
\begin{exo}[Manipuler des puissances]
\label{puiss2}
Soit \(n\) un entier. Simplifier au maximum les expressions suivantes.
\(A=2^n+2^n\),  \(B=2^n\times 2^n\),  \(C=(2^{2n-1}-2^n+1)(2^{2n-1}+2^n+1)\),  \(D=(-1)^{2n}\),  \(E=(-1)^{2n+1}\),  \(F=(-1)^{-6n+7}\).
\end{exo}

\setcounter{exo}{4}
\begin{exo}[Relations coefficient racine]
\label{coeff_racine}
Déterminer les nombres dont le produit fait \(6\) et la somme \(-5\).
\end{exo}

\setcounter{exo}{6}
\begin{exo}[Équivalences usuelles]
\label{equiv_usuel}
Soient \(x\) et \(y\) des réels. Compléter les équivalences suivantes :
\begin{enumerate}
\item \(xy=0 \; \Leftrightarrow\) \quad \quad \quad
\item \(xy>0 \; \Leftrightarrow\) \quad \quad \quad
\item Avec la démonstration propre : \\
\(x^2+y^2=0 \; \Leftrightarrow\) \quad \quad \quad
\end{enumerate}
\end{exo}

\end{multicols}
\section*{Questions de cours}
\label{sec:orga4afb05}
\subsection*{\hspace{5em}\fbox{$\square$} Récitation}
\label{sec:org1298add}
\begin{itemize}
\item Formules de trigonométrie, parmi : identité du cercle, \(\cos(a \pm b)\), \(\sin(a \pm b)\), \(\cos(2a)\), \(\sin(2a)\), \(\cos(-a)\), \(\sin(-a)\), \(\cos(a \pm \pi)\), \(\sin(a \pm \pi)\), \(\cos(a \pm \nicefrac \pi 2)\), \(\sin(a \pm \nicefrac \pi 2)\), \(\cdots{}\). \\
Et les valeurs particulières. \hfill \emph{(Chap. 2A Fiche)}

\item On considère la proposition \(\Pp: A \Rightarrow B\). Énoncer la \uline{négation} de l'implication \(\Pp\), la \uline{contraposée} de \(\Pp\) et la \uline{réciproque} de \(\Pp\). Appliquer dans chaque cas à l'implication "Si on est riche alors on est heureux". \emph{(Chap 1C section 1 et 2.2)}

\item Définition du cosinus d'un angle. \hfill \emph{(Chap. 2A)}
\end{itemize}
\subsection*{\hspace{5em}\fbox{$\blacksquare$} Démonstrations et exercices de cours.}
\label{sec:orgcdf18b0}
\begin{itemize}
\item Montrer \(\exists n \in \N, (n > 4) \wedge (n \leq 100) \wedge (1 + 2 + \cdots + n < 26)\)
\emph{(Chap.1B section 2.4)}

\item Exercice \cible \ref{equiv_usuel} feuille 1.

\item Soit \(x \in \R\) fixé. Montrer \((\cos(x) > \sin(x)) \Rightarrow \left(x \neq \dfrac{2\pi}{3}\right)\) par contraposée.
\emph{(Chap.1C section 1.4)}
\end{itemize}
\section*{Méthodes à connaître et exercices élémentaires}
\label{sec:orgcd21f2c}
\begin{itemize}
\item Factorisation d'un polynôme \(P\) du second degré et étude du signe.

\item Manipulations de puissances.

\item Manipulations de puissances de \(2\) comme dans l'exercice \cible{} 15 feuille 0.

\item Déterminer deux nombres en connaissant leur somme et leur produit comme dans l'exercice \cible{} 5 feuille 0.

\item Résolution d'équations faisant intervenir l'exponentielle et le logarithme.

\item \methode Méthode : Prouver des propositions quantifiées ou des implications.

\item \methode Méthode : Nier une proposition.

\item \methode Méthode : Raisonner par l'absurde.

\item Sur le travail avec les implications, l'exercice type (en plus de l'exercice cible 7 feuille 1) est l'exercice 5 feuille 1.
\end{itemize}
\end{document}
