Page 1 of 1
    
\documentclass[12pt, a4paper]{exam}%answers,addpoints, answers,
\usepackage[left=1.5cm,right=0.5cm,top=0cm,bottom=1cm]{geometry}   % Set page margins
\usepackage[french]{babel}
\usepackage{fontspec}
\usepackage{calligra} % For calligraphy font
\usepackage[T1]{fontenc}
\usepackage{amsmath, amssymb}
\usepackage{tikz} % For drawing the vertical line
\usetikzlibrary{shapes,decorations.text}
\usetikzlibrary{decorations.pathmorphing,shadows}
\usepackage{xcolor}
\usepackage{setspace}
\usepackage[ddmmyyyy]{datetime}
\usepackage{xparse} % Required for advanced argument parsing

\pointname{}
\pointformat{\textbf{\textit{(\thepoints)}}}

% Exam settings
\pointsinmargin
%\colorfillwithlines
%\definecolor{FillWithLinesColor}{gray}{0.8}
\colorfillwithdottedlines
\definecolor{FillWithDottedLinesColor}{gray}{0.7}
\unframedsolutions
\renewcommand{\solutiontitle}{\noindent\textbf{}\enspace}
\SolutionEmphasis{\itshape\small}
\SolutionEmphasis{\color{red}\bfseries}


\newcommand{\ccc}[1]{
    \begin{tikzpicture}[overlay, remember picture]
	    \node[circle, inner sep=3pt, draw=black, outer sep=0pt] at (0.5,0.2) {#1};
    \end{tikzpicture}
}

\newcommand{\luck}[1]{
    \begin{tikzpicture}[overlay, remember picture]
	    \node[] at (#1) {\scalebox{2}{\textbf{\textcolor{blue}{\calligra Good Luck!}}}};
      %rotate=25
    \end{tikzpicture}
}

\NewDocumentCommand{\sticker}{O{6.5} O{-10} m m}{%
  \begin{tikzpicture}[overlay, remember picture, shift={(#3)}]
    % Rectangle with wavy border and text node
    \node[
        shape=rectangle, % Rectangle shape
        decorate,
        decoration={random steps, segment length=2mm, amplitude=1.5mm}, % Wavy effect
        fill=cyan!20, % Background color
        draw=red, % Border color
        line width=1pt, % Border thickness
        inner sep=5pt, % Padding between text and border
        text width=#1, % Width of the text box
        align=center, % Center the text
        rotate=#2, % Rotation angle
    ] (sticker) at (0, 0) { % Position of the sticker
        #4
    };

    % Label
    \node[] at ([xshift=0.5cm]sticker.north west) {
       \includegraphics[width=0.9cm]{pin.png}
    };
  \end{tikzpicture}%
}



\newcommand{\dangericon}{%
    \tikz[baseline=-0.5ex]{
        \draw[draw=red, line width=1mm] (0,0.5) -- (0.7,-0.6) -- (-0.7,-0.6) -- cycle;
        \node[inner sep=0pt, font=\bfseries, scale=2] at (-0.05,-0.2) {!};
    }%
}

\newcommand{\stamp}[2]{
\begin{tikzpicture}[remember picture, overlay]
\coordinate (A) at (#1,#2);
\draw[red!50] (A) circle (1.9cm);
% Draw the inner circle
\draw[red!50] (A) circle (1.4cm);
% Draw the curved line
\draw[red!50, decorate, decoration={text along path,
	text={|\fontspec{DejaVu Sans}\color{red!75}\bfseries|★MOSAID RADOUAN★},
	text align={align=center}, raise=-3pt}] (A) ++ (180:1.6cm) arc (180:0:1.6cm);
\draw[decorate, decoration={text along path,
	text={|\fontspec{DejaVu Sans}\color{red!75}\bfseries|∞★~mosaid.xyz~★∞ },
	text align={align=center}, raise=-6.5pt}] (A) ++ (180:1.53cm) arc (-180:0:1.53cm);
\node[red!75,font=\fontsize{48}{48}\fontspec{DejaVu Sans}\bfseries\selectfont] at (A) {✷};
\end{tikzpicture}
}

\newcommand{\borders}{%
  \tikz[remember picture, overlay, xshift=-0.5cm]{
    \ifprintanswers
        \def\bheight{-28}
    \else
        \def\bheight{-28}
    \fi
    \draw[gray, thick] (0,-1.2) -- (0,\bheight);
    \draw[gray, thick] (0,-1.2) -- (\textwidth,-1.2);
    \node[black] at (0.5,-0.25) {\textbf{TCSF}};
    \node[magenta] at (1.6,-0.6) {\textbf{www.mosaid.xyz}};
    \node[black,xshift=-2cm] at (\textwidth,-0.25) {\textbf{\today}};
    \node[black,xshift=-2cm] (A) at (\textwidth,-0.9)  {\textbf{Prof : MOSAID}};
    \node[black,xshift=-0.5cm] at (0.5\textwidth,-0.5) {
        \ifprintanswers
            \textbf{Correction Devoir Libre n$^\circ$3/....}
        \else
            \textbf{Devoir Libre n$^\circ$3/....}
        \fi
        \ccc{X}
    };
    \draw[gray, thick] (A.south west) -- ++(0,0.7) -- ++(3.8,0) ;
    \node[magenta] at (0.9\textwidth,-1.4) {\textbf{www.mosaid.xyz}};
  }%
}

\newcommand{\exo}[1]{%
    \begin{tikzpicture}
        % Node for the text
        \node[] (text) at (0,0) {\textbf{#1}};
        % Shadow (calculated based on the text width)
        \fill[black] ([xshift=0.1cm, yshift=-0.1cm]text.south west)
                     rectangle ([xshift=0.1cm, yshift=-0.1cm]text.north east);
        % Main box (calculated based on the text width)
        \draw[fill=white] (text.south west) rectangle (text.north east);
        % Text inside the box
        \node[] at (text) {\textbf{#1}};
    \end{tikzpicture}%
}

%\footer{}{Page \thepage\ of \numpages}{}

\everymath{\displaystyle}
\setstretch{1.2}
\newenvironment{mycontent}{%
\noindent
\borders\\[1.5cm]
\noindent
\exo{Exercice 1: }\\
Soit le polynome ~$P(x)=x^3-\sqrt2x^2-9x+9\sqrt2$~.
\begin{questions}
\question
  Montrer que ~$\sqrt2$~ est une racine du polynome ~$P(x)$~
\question
  Déterminer le polynome ~$Q(x)$~ tel que ~$P(x)=(x-\sqrt2)Q(x)$~
\question
  Montrer que ~$Q(x)$~ est divisible par 3
\question
  Ecrire ~$P(x)$~ sous la forme d'un produit de binomes
\question
  Résoudre l'équation ~$P(x)=0$~ et l'inéquation ~$P(x)<0$~
\end{questions}
\sticker[5.5cm][0]{(15,1)}{%
\textit{<<Mathematics is not about numbers, equations, or algorithms: it is about understanding.>>}\\
\textbf{— William Paul Thurston}
}
\exo{Exercice 2: }
\begin{questions}
\question
  Résoudre dans ~$\mathbb{R}$~ : ~$|2x-6|+|x+6|=5$~
\question
  Soit le polynome ~$P(x)=(x-3)(2x^2-3x+1)$~
  \begin{parts}
  \part
  Vérifier que 1  est une racine du polynome ~$2x^2-3x+1$~
  \part
  Effectuer la division euclidienne de ~$2x^2-3x+1$~ par ~$x-1$~
  \part
  Factoriser ~$2x^2-3x+1$~ sous forme de produit de binomes
  \part
    Résoudre ~$2x^2-3x+1=0$~
  \end{parts}
\question
  Résoudre l'équation ~$P(x)=0$~ et l'inéquation ~$P(x)\ge0$~
\end{questions}
\stamp{15}{2}
\exo{Exercice 3: }\\
	Soit le polynome \(P(x)=x^3-(a-b)x^2+(a-3b-1)x+2\sqrt{2}\)
\begin{questions}
  \question
	 Determiner les nombres \(a\) et \(b\) pour que \(P(x)\) soit divisible par \(x-2\) et \(x+\sqrt{2}\)
  \question
	 On pose \(a=3\) et \(b=\sqrt{2}\)
   \begin{parts}
     \part
       Déterminez un polynome \(Q(x)\) tel que \(P(x)=(x-2)Q(x)\)
     \part
        Calculer \(Q(-\sqrt{2}\) puis factoriser \(P(x)\)
    \part
       Résoudre \(x\in \mathbb{R}\quad P(x) < 0\)
   \end{parts}
   \question
	 On suppose que \(x\in]0,1[\). Montrer que \(\sqrt{2}\) est une
	approximation de \(P(x)\) à la précision \(1+\sqrt{2}\)
\end{questions}
\exo{Exercice 4: }\\
Soient les polynomes:\\ ~$A(x)= \sqrt2x^2-3x-5\sqrt2$~ et ~$B(x)=  x^2-2x+4$~ et
~$C(x)= x^2-6x+9$~
\begin{questions}
 \question
  Résoudre dans ~$\mathbb{R}$~ les équations ~$A(x)=0$~,  ~$B(x)=0$~ et  ~$C(x)=0$~
 \question
  Factoriser les polynomes ~$A(x)$~, ~$B(x)$~ et ~$C(x)$~
 \question
  Donner les tableaux de signes des polynomes ~$A(x)$~, ~$B(x)$~ et ~$C(x)$~
 \question
  Résoudre dans ~$\mathbb{R}$~ les inéquations ~$A(x)\le0$~,  ~$B(x)\ge0$~ et  ~$C(x)<0$~
\end{questions}
\begin{center}
\luck{0,0}
\end{center}
}% end newenvironment

\begin{document}
  \ifprintanswers
    \begin{mycontent}\end{mycontent}
  \else
      %
  \fi
  \newpage
  \noprintanswers
	\begin{mycontent}\end{mycontent}
 %   \newpage
 % \begin{mycontent}\end{mycontent}
\end{document}


    

Leave a comment if you like this content أترك تعليقا إن أعجبك المحتوى
Class: Tronc Commun Sciences
Views:  393


This exam solutions:
Comment to request a solution for this


0 Comments, Latest

No comments yet. Be the first to Comment

Most viewed courses: