Import work from year 2013-2014
This commit is contained in:
BIN
4e/DM/DM_140401/04_dev_subj.pdf
Normal file
BIN
4e/DM/DM_140401/04_dev_subj.pdf
Normal file
Binary file not shown.
BIN
4e/DM/DM_140401/DM_avril2.pdf
Normal file
BIN
4e/DM/DM_140401/DM_avril2.pdf
Normal file
Binary file not shown.
62
4e/DM/DM_140401/DM_avril2.tex
Normal file
62
4e/DM/DM_140401/DM_avril2.tex
Normal file
@@ -0,0 +1,62 @@
|
||||
\documentclass[a4paper,12pt,landscape, twocolumn]{/media/documents/Cours/Prof/Enseignements/Archive/2013-2014/tools/style/classExo}
|
||||
|
||||
|
||||
\pagestyle{empty}
|
||||
|
||||
\begin{document}
|
||||
\LARGE
|
||||
%{{ eleve1.nom %}} %{{ eleve1.prenom %}} %{{ eleve1.classe %}}
|
||||
\section*{À rendre pour le jeudi 17 Avril}
|
||||
\normalsize
|
||||
\begin{Exo}
|
||||
Réduire les expressions suivantes
|
||||
\begin{eqnarray*}
|
||||
%{{exo.red_prod() %}} \\[0.5cm]
|
||||
%{{exo.red_somme() %}}
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
|
||||
\begin{Exo}
|
||||
Développer puis réduire les expressions suivantes
|
||||
|
||||
\begin{eqnarray*}
|
||||
A & = & %{{exo.double_prod()%}} \\[0.5cm]
|
||||
B & = & %{{exo.double_prod() %}}\\[0.5cm]
|
||||
C & = & %{{ exo.carre_prod() %}}
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
|
||||
\vfill
|
||||
\eject
|
||||
|
||||
\setcounter{exo}{0}
|
||||
|
||||
\LARGE
|
||||
%{{ eleve2.nom %}} %{{ eleve2.prenom %}} %{{ eleve2.classe %}}
|
||||
\section*{À rendre pour le jeudi 17 Avril}
|
||||
\normalsize
|
||||
\begin{Exo}
|
||||
Réduire les expressions suivantes
|
||||
\begin{eqnarray*}
|
||||
%{{exo.red_prod() %}} \\[0.5cm]
|
||||
%{{exo.red_somme() %}}
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
|
||||
\begin{Exo}
|
||||
Développer puis réduire les expressions suivantes
|
||||
|
||||
\begin{eqnarray*}
|
||||
A & = & %{{exo.double_prod()%}} \\[0.5cm]
|
||||
B & = & %{{exo.double_prod() %}}\\[0.5cm]
|
||||
C & = & %{{ exo.carre_prod() %}}
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
|
||||
\end{document}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "master"
|
||||
%%% End:
|
||||
|
||||
BIN
4e/DM/DM_140401/DM_avril2_4C.pdf
Normal file
BIN
4e/DM/DM_140401/DM_avril2_4C.pdf
Normal file
Binary file not shown.
BIN
4e/DM/DM_140401/DM_avril2_4D.pdf
Normal file
BIN
4e/DM/DM_140401/DM_avril2_4D.pdf
Normal file
Binary file not shown.
77
4e/DM/DM_140401/DM_maker.py
Executable file
77
4e/DM/DM_140401/DM_maker.py
Executable file
@@ -0,0 +1,77 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import os, jinja2
|
||||
import subprocess
|
||||
import shlex
|
||||
#from rd_fact import fact
|
||||
#from rd_eq import eq
|
||||
import exercices
|
||||
import random
|
||||
|
||||
classes = {"4C" : [], "4D": []}
|
||||
#classes = {"4C" : []}
|
||||
#classes = {"3B": []}
|
||||
|
||||
def build_student(infos):
|
||||
return {'nom':infos[1].capitalize(),
|
||||
"prenom": infos[2].capitalize(),
|
||||
"classe" : infos[0]}
|
||||
|
||||
with open('./comptes_eleves_LaboMEP.csv', 'r', encoding="latin1") as accounts_f:
|
||||
for line in accounts_f:
|
||||
line_l = line.split(";")
|
||||
if line_l[0] in classes:
|
||||
classes[line_l[0]] += [build_student(line_l)]
|
||||
|
||||
report_renderer = jinja2.Environment(
|
||||
block_start_string = '%{',
|
||||
block_end_string = '%}',
|
||||
variable_start_string = '%{{',
|
||||
variable_end_string = '%}}',
|
||||
loader = jinja2.FileSystemLoader(os.path.abspath('.'))
|
||||
)
|
||||
template = report_renderer.get_template("./DM_avril2.tex")
|
||||
|
||||
for (classe, eleves) in classes.items():
|
||||
path = "./"+classe
|
||||
|
||||
if not os.path.exists(path):
|
||||
os.mkdir("./" + classe)
|
||||
|
||||
os.chdir("./" + classe)
|
||||
|
||||
i = 0
|
||||
while i < len(eleves):
|
||||
dest_file= "./DM_avril2_{i}.tex".format(i = int(i/2))
|
||||
print(dest_file)
|
||||
|
||||
if i <= len(eleves) - 2:
|
||||
eleve1 = eleves[i]
|
||||
eleve2 = eleves[i+1]
|
||||
#deux_eleves = mixing(eleves[i], eleves[i+1])
|
||||
else:
|
||||
eleve1 = eleves[i]
|
||||
eleve2 = eleves[i]
|
||||
#deux_eleves = mixing(eleves[i])
|
||||
|
||||
|
||||
|
||||
with open(dest_file, 'w') as f:
|
||||
f.write(template.render({"eleve1" : eleve1, "eleve2" :eleve2, "exo": exercices, "random": random}))
|
||||
|
||||
proc=subprocess.Popen(shlex.split("pdflatex DM_avril2_{i}".format(i = int(i/2))))
|
||||
proc.communicate()
|
||||
|
||||
i += 2
|
||||
|
||||
os.chdir("..")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
# cursor: 16 del
|
||||
BIN
4e/DM/DM_140401/avril_1.pdf
Normal file
BIN
4e/DM/DM_140401/avril_1.pdf
Normal file
Binary file not shown.
81
4e/DM/DM_140401/avril_1.tex
Normal file
81
4e/DM/DM_140401/avril_1.tex
Normal file
@@ -0,0 +1,81 @@
|
||||
\documentclass[a4paper,12pt,landscape, twocolumn]{/media/documents/Cours/Prof/Enseignements/Archive/2013-2014/tools/style/classExo}
|
||||
|
||||
% Title Page
|
||||
\title{}
|
||||
\author{}
|
||||
\date{}
|
||||
|
||||
\fancyhead[L]{}
|
||||
\fancyhead[C]{\Thetitle}
|
||||
\fancyhead[R]{\thepage}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\thispagestyle{empty}
|
||||
|
||||
\section*{Devoir maison à rendre pour mercredi 16 Avril}
|
||||
|
||||
\vfill
|
||||
À la sortie d'une agglomération, on a relevé, un certain jour, la répartition par tranches horaires des 6400 véhicules quittant la ville entre 16 heures et 22heures.Les résultats sont donnés dans la tableau ci-dessous:
|
||||
\vfill
|
||||
|
||||
\hspace{-0.8cm}
|
||||
\begin{tabular}{|c|*{6}{c|}}
|
||||
\hline
|
||||
Tranche Horaire & 16-17 & 17-18 & 18 - 19 & 19 - 20 & 20 - 21 & 21 - 22 \\
|
||||
\hline
|
||||
Nombre de véhicules & 1100 & 2000 & 1600 & 900 & 450 & 350\\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\vfill
|
||||
\begin{enumerate}
|
||||
\item Calculer la fréquence de la tranche horaire 19-20 (on arrondira le résultat à 0.01 près).
|
||||
\vfill
|
||||
\item En déduire le pourcentage correspondant à cette tranche horaire.
|
||||
\vfill
|
||||
\item Calculer le pourcentage de véhicules quittant la ville entre 16 et 20 heures.
|
||||
\vfill
|
||||
\item Calculer le nombre moyen de véhicules quittant la ville par heure.
|
||||
\vfill
|
||||
\item Représenter graphiquement les effectifs de cette série statistique.
|
||||
\end{enumerate}
|
||||
\vfill
|
||||
|
||||
\eject
|
||||
|
||||
\section*{Devoir maison à rendre pour mercredi 16 Avril}
|
||||
|
||||
\vfill
|
||||
À la sortie d'une agglomération, on a relevé, un certain jour, la répartition par tranches horaires des 6400 véhicules quittant la ville entre 16 heures et 22heures.Les résultats sont donnés dans la tableau ci-dessous:
|
||||
\vfill
|
||||
|
||||
\hspace{-0.8cm}
|
||||
\begin{tabular}{|c|*{6}{c|}}
|
||||
\hline
|
||||
Tranche Horaire & 16-17 & 17-18 & 18 - 19 & 19 - 20 & 20 - 21 & 21 - 22 \\
|
||||
\hline
|
||||
Nombre de véhicules & 1100 & 2000 & 1600 & 900 & 450 & 350\\
|
||||
\hline
|
||||
\end{tabular}
|
||||
\vfill
|
||||
\begin{enumerate}
|
||||
\item Calculer la fréquence de la tranche horaire 19-20 (on arrondira le résultat à 0.01 près).
|
||||
\vfill
|
||||
\item En déduire le pourcentage correspondant à cette tranche horaire.
|
||||
\vfill
|
||||
\item Calculer le pourcentage de véhicules quittant la ville entre 16 et 20 heures.
|
||||
\vfill
|
||||
\item Calculer le nombre moyen de véhicules quittant la ville par heure.
|
||||
\vfill
|
||||
\item Représenter graphiquement les effectifs de cette série statistique.
|
||||
\end{enumerate}
|
||||
\vfill
|
||||
|
||||
|
||||
\end{document}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "master"
|
||||
%%% End:
|
||||
|
||||
57
4e/DM/DM_140401/avril_2.tex
Normal file
57
4e/DM/DM_140401/avril_2.tex
Normal file
@@ -0,0 +1,57 @@
|
||||
\documentclass[a4paper,12pt,landscape, twocolumn]{/media/documents/Cours/Prof/Enseignements/Archive/2013-2014/tools/style/classExo}
|
||||
|
||||
% Title Page
|
||||
\title{Contrôle}
|
||||
\author{}
|
||||
\date{}
|
||||
|
||||
\fancyhead[L]{Nom prénom}
|
||||
\fancyhead[C]{\Thetitle}
|
||||
\fancyhead[R]{Classe: \hspace{2cm}}
|
||||
|
||||
|
||||
\begin{document}
|
||||
\thispagestyle{fancy}
|
||||
|
||||
\begin{Exo}
|
||||
Réduire les expressions suivantes
|
||||
\begin{eqnarray*}
|
||||
%{{exo.red_prod() %}}
|
||||
\\
|
||||
%{{exo.red_somme() %}}
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
\begin{Exo}
|
||||
Développer puis réduire les expressions suivantes
|
||||
\begin{eqnarray*}
|
||||
%{{exo.simple_prod() %}} &=& \cdots \times \cdots + \cdots \times \cdots \\[1cm]
|
||||
%{{exo.double_prod() %}}&=& \cdots \times \cdots + \cdots \times \cdots + \cdots \times \cdots + \cdots \times \cdots \\[0.4cm]
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
|
||||
\vfill\eject
|
||||
|
||||
\begin{Exo}
|
||||
Développer puis réduire
|
||||
|
||||
\begin{eqnarray*}
|
||||
%{{exo.double_prod()%}} &=& \cdots \times \cdots + \cdots \times \cdots + \cdots \times \cdots + \cdots \times \cdots \\[0.4cm]
|
||||
&=& \hspace{2cm} + \hspace{2cm} + \hspace{2cm} + \hspace{2cm} \\[0.4cm]
|
||||
&=& \hspace{2cm} + \hspace{2cm} + \hspace{2cm} \\[0.6cm]
|
||||
%{{exo.double_prod() %}}&=& \cdots \times \cdots + \cdots \times \cdots + \cdots \times \cdots + \cdots \times \cdots \\[0.4cm]
|
||||
&=& \hspace{2cm} + \hspace{2cm} + \hspace{2cm} + \hspace{2cm} \\[0.4cm]
|
||||
&=& \hspace{2cm} + \hspace{2cm} + \hspace{2cm} + \hspace{2cm} \\[0.4cm]
|
||||
&=& \hspace{2cm} + \hspace{2cm} + \hspace{2cm} \\[0.6cm]
|
||||
%{{exo.double_prod() %}} & = & \\[5cm]
|
||||
%{{ exo.carre_prod() %}} & = &
|
||||
\end{eqnarray*}
|
||||
\end{Exo}
|
||||
|
||||
|
||||
\end{document}
|
||||
|
||||
%%% Local Variables:
|
||||
%%% mode: latex
|
||||
%%% TeX-master: "master"
|
||||
%%% End:
|
||||
|
||||
441
4e/DM/DM_140401/comptes_eleves_LaboMEP.csv
Normal file
441
4e/DM/DM_140401/comptes_eleves_LaboMEP.csv
Normal file
@@ -0,0 +1,441 @@
|
||||
6A;ASSAOUA;Najwa;;nassaoua;zajulu
|
||||
6A;AUDINOT;Lea;;laudinot;padito
|
||||
6A;CARVALHO GOUVEIA;Ana Filipa;;acarvalhogo;fekovo
|
||||
6A;CASALTA;Marine;;mcasalta9;wufuzu
|
||||
6A;CASU;Stella-Maria;;scasu;jixuyu
|
||||
6A;DEBLY;Laura;;ldebly;cazema
|
||||
6A;ERNANDES;Carla;;cernandes;kahisi
|
||||
6A;ETIENNE;Melvin;;metienne2;jimico
|
||||
6A;GAILLARD;Dorian;;dgaillard;lazofi
|
||||
6A;GUIDONI;Dominique;;dguidoni4;zojihi
|
||||
6A;HAMMAMI;Ouma<6D>ma;;ohammami;sugaga
|
||||
6A;KHEZAMI;Mohamed;;mkhezami2;pomeve
|
||||
6A;KUREK-PINELLI;Ristituda;;rkurekpinel;xawunu
|
||||
6A;LARROQUE;Nino;;nlarroque;jivanu
|
||||
6A;MABIRE;Luca;;lmabire;menazi
|
||||
6A;MATIC;Veljko;;vmatic;pijofa
|
||||
6A;MOUAOU;Sa<53>d;;smouaou;ruroyo
|
||||
6A;PERRIN;Nicolas;;nperrin4;xenige
|
||||
6A;PIRES NASCIMENTO;Guillaume;;gpiresnasci;yixone
|
||||
6A;QUARDELLE;Olivier;;oquardelle;yekezo
|
||||
6A;RANCUREL;Fabio;;francurel;dowabo
|
||||
6A;SPINOSI;ALEXANDRE;;aspinosi;pebidi
|
||||
6A;VERBEKE;Hugo;;hverbeke;xucibo
|
||||
6A;WATIN;Anthony;;awatin;sucavo
|
||||
6B;ACQUAVIVA;Jean;;jacquaviva;demisu
|
||||
6B;ACQUAVIVA;Sacha;;sacquaviva;vovata
|
||||
6B;ALBERTINI;Nino-Francescu;;falbertini;xerupi
|
||||
6B;BALDACCI;Jean-Dominique;;dbaldacci;hoheja
|
||||
6B;BASTIANELLI;Marie-Serena;;sbastianelli;liyiga
|
||||
6B;BELAID;Mourir;;mbelaid;burula
|
||||
6B;BENIGNI;Thomas;;tbenigni;xeliho
|
||||
6B;BICCHIERAY;Dan;;dbicchieray;topema
|
||||
6B;CANAVA;Fran<61>ois;;fcanava;deteda
|
||||
6B;CASTELLANI;Romain;;rcastellani;yuhipo
|
||||
6B;CHERUBINI;Marie-Catherine;;ccherubini1;nokeke
|
||||
6B;CHICHARRO;Giorgia;;gchicharro;tizigo
|
||||
6B;CUBELLS;Baptiste;;bcubells;juvazi
|
||||
6B;KECHICHIAN;Dominique;;dkechichian;xasugu
|
||||
6B;LEONETTI;Timo;;tleonetti;supula
|
||||
6B;MANICACCI;Antoine;;amanicacci;gabesi
|
||||
6B;MOROTE;Marion;;mmorote;jasasi
|
||||
6B;NAVARRO-FLORES;Jean-Dominique;;dnavarro;boraxu
|
||||
6B;NOVOA;Mathilda;;mnovoa;goguxe
|
||||
6B;ORTICONI;Antoine;;aorticoni;pemeri
|
||||
6B;SANROMA;Remy;;rsanroma;surosi
|
||||
6C;AKKOUH AZAROUK;Hafsa;;hakkouhazar1;dukuyo
|
||||
6C;ALLANIC;Florian;;fallanic;yucapa
|
||||
6C;AOUST;Loann;;laoust;vaxano
|
||||
6C;BERTHELIER;Eve;;eberthelier;suneza
|
||||
6C;DA SILVA FERNANDES;Fernando;;fdasilvafer1;xexuji
|
||||
6C;DE MONICAULT;Vianney;;vdemonicaul1;gedogi
|
||||
6C;DOS SANTOS;Mayeul;;mdossantos51;yagipo
|
||||
6C;FERNANDES SEQUEIRA;Hugo;;hfernandess1;dotahu
|
||||
6C;FLOT;Bastien;;bflot;niwopo
|
||||
6C;FRIDI;Sarah;;sfridi;fuziyu
|
||||
6C;GRY;Athena;;agry;miwubu
|
||||
6C;GUIL;Anais;;aguil;hurina
|
||||
6C;KOLOMOETS;Alexandre;;akolomoets;loyubo
|
||||
6C;LIMA SILVA;Alexandra;;alimasilva1;mekujo
|
||||
6C;MARANINCHI;Mona;;mmaraninchi31;sarigu
|
||||
6C;MARINO;Emmanuelle;;emarino;bixiri
|
||||
6C;OLIVEIRA;BERNARDO;;boliveira;bernardo
|
||||
6C;PALMEIRA BRANCO;Lara;;lpalmeirabr1;lodewa
|
||||
6C;PENNEC;Tristane;;tpennec;halite
|
||||
6C;PILLOT;Lauryn;;lpillot;rufide
|
||||
6C;PIRES LOMBA;Karine;;kpireslomba1;vigezo
|
||||
6C;SALIKUS;Ana;;asalikus;cuhipi
|
||||
6C;SEMIA;Sabah;;ssemia31;muwehe
|
||||
6C;SIMBETEANU;Cristian;;csimbeteanu;gebaje
|
||||
6C;TRANY;Maude;;mtrany21;wetuka
|
||||
6D;ACQUAVIVA;Ambre;;aacquaviva10;woyote
|
||||
6D;ANTONIOTTI;Ghjulia;;gantoniotti2;badugi
|
||||
6D;BALZA;Jessica;;jbalza;muguza
|
||||
6D;BARRIER;MANOLO;;mbarrier;manono
|
||||
6D;BICCHIERAI;Sara;;sbicchierai;xokubo
|
||||
6D;BOYER;Charlotte;;cboyer;pekuzi
|
||||
6D;BRUNINI;Noella;;nbrunini;vayeje
|
||||
6D;FARJOUNEL;Francescu;;ffarjounel;nokoge
|
||||
6D;FERNANDES SOUSA;Ricardo;;rfernandess;xorawo
|
||||
6D;FILIPPI;Marie-Virginie;;vfilippi28;dusogu
|
||||
6D;LEONI;Matheo;;mleoni11;hazupo
|
||||
6D;MAMMIFERI;Anthony;;amammiferi2;sidoki
|
||||
6D;MOINARD;Gabriel-Luc;;gmoinard;ridaye
|
||||
6D;MONTAGNIER;Alexandre;;amontagnier;yebepe
|
||||
6D;ORSINI;Cristina;;corsini13;befori
|
||||
6D;ORSINI;Lou;;lorsini6;tukoxo
|
||||
6D;STOCQ;Walter;;wstocq;wasawu
|
||||
6D;VANNUCCI;Loan;;lvannucci3;kinipa
|
||||
6D;WEISHAUPT;Laura;;lweishaupt;perexu
|
||||
6E;AOURRAN;Najlae;;naourran;warani
|
||||
6E;BARTHELEMIE;Maeva;;MBARTHELEMIE;febuye
|
||||
6E;BAZIL;Thomas;;tbazil;fupeso
|
||||
6E;BELLORTI;Lou-Ann;;lbellorti;figuba
|
||||
6E;BERNARDI;Mathea;;mbernardi;lebawe
|
||||
6E;BOUCHA;Mohamed;;mboucha;wipemu
|
||||
6E;BOUTHOUYAK;Yasmina;;ybouthouyak;pusufe
|
||||
6E;BRISSE;Malhaury;;mbrisse;semala
|
||||
6E;CIANFARANI;Georges;;gcianfarani;zoxade
|
||||
6E;COUPET-BODEL;Sophie;;scoupet;kagijo
|
||||
6E;DE LEMOS DA ROCHA;Elisa;;elemosdar;pofife
|
||||
6E;DOS SANTOS-COPPOLANI;Eva;;ecoppolani;nixoko
|
||||
6E;DUNIAUD;Charlotte;;cduniaud;vagabo
|
||||
6E;FERANT;Oceane;;oferant;devila
|
||||
6E;FONTAINE;Eleonore;;efontaine;gineza
|
||||
6E;GAUER;Robin;;rgauer;favifu
|
||||
6E;ISNARD;Hugo;;hisnard;xiraru
|
||||
6E;LABERENNE;Clement;;claberenne;remeki
|
||||
6E;LECOMTE;Luca;;llecomte;zulusa
|
||||
6E;LUCCHETTI;Clara;;clucchetti;kolana
|
||||
6E;MALHERBES;Anthony;;amalherbes;zuluwa
|
||||
6E;MARINO;Luca;;lmarino;kuyire
|
||||
6E;MATIC;Milica;;mmatic;dupedo
|
||||
6E;PARMENTIER;Margot;;mparmentier;falusi
|
||||
6E;RAINERI;Antonia;;araineri;citico
|
||||
6E;SAMPOIL;Sophie;;ssampoil;ximedi
|
||||
6test;Inconnu;matel;;matel6;symetrie
|
||||
5A;ALLANIC;Erwann;;eallanic;vibura
|
||||
5A;ANTON;Magali;;manton;cudute
|
||||
5A;AZZOUZ;Noemie;;nazzouz;cavohe
|
||||
5A;BEN HADDOU;Orkeia;;ohaddou;zuzulu
|
||||
5A;CASSERON;Corentin;;ccasseron;fajicu
|
||||
5A;CUQ;Logan;;lcuq;jexuki
|
||||
5A;DA SILVA REIS MENDES;Maria;;mmendes;bazifa
|
||||
5A;DUCROT;Emeric;;educrot;viyapo
|
||||
5A;DUNIAUD;Theo;;tduniaud;doxapi
|
||||
5A;FAIVRE;Oceane;;ofaivre;hanuvu
|
||||
5A;GRAFEEV;Margaux;;mgrafeev;feyepa
|
||||
5A;HAMMANI;Maroua;;mhammani;gokute
|
||||
5A;HANTZBERG;Julie;;jhantzberg;mudimi
|
||||
5A;MADONIA;Marjorie;;mmadonia1;teyuwu
|
||||
5A;MINOT;Aliz<69>e;;aminot;kobudi
|
||||
5A;NAVEZ;Melanie;;mnavez;rujepo
|
||||
5A;PIZZIMENTI;Camille;;cpizzimenti;lisisa
|
||||
5A;RODRIGUES ROQUE;Catarina;;crodrigues;javire
|
||||
5A;RUBERTI;Helena;;hruberti;waheku
|
||||
5A;SALVI;Paul;;psalvi;sojewi
|
||||
5A;SANTELLI;Juliette;;jsantelli;nuhaju
|
||||
5A;SEDDOUKI;Imane;;iseddouki;pebicu
|
||||
5A;SERRA;Claudia;;cserra;tatida
|
||||
5A;ZAJAC;Valentin;;vzajac;mabajo
|
||||
5B;AREZES ROCHA;Diogo;;darezes;cinere
|
||||
5B;ARGENSON;Elise;;eargenson;sizodu
|
||||
5B;AZEVEDO;Nicolas;;nazevedo;kidume
|
||||
5B;BERNARD;Marie;;mbernard;vedeju
|
||||
5B;DEL GUIDICE;Lucas;;lguidice;najicu
|
||||
5B;DUNIAUD;Isaora;;iduniaud;ropafe
|
||||
5B;ESCANDE;Ivann;;iescande;vanaza
|
||||
5B;FERALI;Madeau;;mferali;xaxeda
|
||||
5B;GRIMAUDO;Jean-Paul;;jgrimaudo;redike
|
||||
5B;HANIN;Inas;;ihanin;vanoyo
|
||||
5B;JANVIER;Ilona;;ijanvier;ralaba
|
||||
5B;LAABIDI;Mohamed;;mlaabidi;wigilo
|
||||
5B;LACOMAT;Lona;;llacomat;lecipa
|
||||
5B;LHEUREUX;Anthony;;alheureux;gajaja
|
||||
5B;MARCHAND;Olivier;;omarchand;xupuki
|
||||
5B;MARTIN;Clara;;cmartin;gixela
|
||||
5B;MICHELIX;Quentin;;qmichelix;lipofa
|
||||
5B;NIETO;L<>o;;lnieto;disoni
|
||||
5B;PERRIN;Mathieu;;mperrin;cawuxa
|
||||
5B;QUILICI;Jean-Georges;;gquilici;howexa
|
||||
5B;RENARD;Hugo;;hrenard;wagolo
|
||||
5B;SPINOSI;Alexandre;;aspinosi2;rifaci
|
||||
5B;TOLOFUA;Paola;;ptolofua;zasayu
|
||||
5B;TUMA;Alexandre;;atuma;rimoza
|
||||
5C;AIGLE;Mathieu;;maigle;mudato
|
||||
5C;ALVES LARANJEIRA;Dinis;;dlaranjeira;nimepa
|
||||
5C;BEKHCHOUCH;Nissrine;;nbekhchouch;razapo
|
||||
5C;CANAVA;Lou;;lcanava;zumiju
|
||||
5C;COURRIAUD-LATOUR;Lisa;;lcourriaud;rudubo
|
||||
5C;DA SILVA LIMA;Helder;;hsilva;wecija
|
||||
5C;DE SA VALE MARQUES;Adao;;amarques;duyica
|
||||
5C;FANGILLE;Elodie;;efangille;bitita
|
||||
5C;GAUTHIER;Lola;;lgauthier;wajexo
|
||||
5C;GUERMANOVITCH;Christopher;;cguermanovitch;kimoyu
|
||||
5C;GUIDONI;Isadora;;iguidoni;haseha
|
||||
5C;GURSET;Emma;;egurset;jisune
|
||||
5C;HEYNE;Mathias;;mheyne;zeriwo
|
||||
5C;KLINCEWICZ;Chloe;;cklincewicz;setumo
|
||||
5C;LE SEGRETAIN DU PATIS;Ombeline;;osegretain;zosuto
|
||||
5C;LECOMTE;Mathieu;;mlecomte;humexi
|
||||
5C;MAITREJEAN;Lea;;lmaitrejean;mowiha
|
||||
5C;MANACH-HERBECQ;Pa<50>line;;pherbecq;jicife
|
||||
5C;MARTINEZ;Laura;;lmartinez;heyoko
|
||||
5C;MENDES;Beatriz;;bmendes;xajuye
|
||||
5C;MOSDALE;Maeva;;mmosdale;dejemu
|
||||
5C;OLIVEIRA AMADOR;Jhemerson;;joliveira;mosidu
|
||||
5C;PANZANI;Marie-Jo;;mpanzani;coziyo
|
||||
5C;RIVIERE;Antonella;;ariviere;xuruvo
|
||||
5C;SEMIA;Siham;;ssemia;tajaro
|
||||
5C;SOUSA DA SILVA;Pedro;;psousa;doxuvu
|
||||
5C;THOMAS;Livia;;lthomas;guyavi
|
||||
5C;VALLADE;Alexis;;avallade;duyuyi
|
||||
5C;VILALTA;Carla;;cvilalta;dosiya
|
||||
5D;ANDREANI;Flora;;fandreani;bagivo
|
||||
5D;ANTONELLI;Xavier;;xantonelli;lerixo
|
||||
5D;ANTONINI-ALBERTINI;Roch;;ralbertini;taxave
|
||||
5D;ASARO;Marius;;masaro;codedo
|
||||
5D;BERVILY-ITASSE;Pierre-Andre;;pbervily;hifoza
|
||||
5D;BRITES;Clara;;cbrites;nanopi
|
||||
5D;CIPOLETTA;Jean-Denis;;dcipoletta;kokifi
|
||||
5D;CRUCIANI;Emilie;;ecruciani;holefu
|
||||
5D;DI GIACOMO;Elisa;;egiacomo;holuwo
|
||||
5D;DOMENICHINE;Camille;;cdomenichine;difeci
|
||||
5D;GILBERT;Shanon;;sgilbert;munore
|
||||
5D;GOURET;Luce;;lgouret;johata
|
||||
5D;HELY;Mathieu;;mhely;risomo
|
||||
5D;JACQ;Elisa;;ejacq;mozigi
|
||||
5D;LORENZINI;Jean-Andre;;alorenzini;cumeku
|
||||
5D;LUCHETTI;Jean-Baptiste;;bluchetti;mifeca
|
||||
5D;MARIANI;Angelina;;amariani;tovove
|
||||
5D;MARTIN-ROSSI;Elio;;emartin1;binuwi
|
||||
5D;MUNIER;Joseph;;jmunier;mixevu
|
||||
5D;NOBILI;Lea;;lnobili;hoviva
|
||||
5D;ORSINI;Louis;;lorsini;zagesa
|
||||
5D;PINELLI;Anghjula;;apinelli;bemiju
|
||||
5D;QUARDELLE;Amandine;;aquardelle;balohe
|
||||
5D;ROSSI;Jean-Joseph;;jrossi;jipapa
|
||||
5D;SAINT-ANTONIN;Xavier;;xantonin;japoha
|
||||
5D;SANROMA;Cedric;;csanroma;xujaza
|
||||
5D;TORRELLI;Lilou;;ltorrelli;payaga
|
||||
4e test;Bob;Bob;;bbob4;zekzek
|
||||
4A;AIGLE;Isaline;;iaigle;seriba
|
||||
4A;AYARI;Mohamed;;mayari1;nusebo
|
||||
4A;BARBOSA CUNHA;Magda;;mbarbosacun;homoga
|
||||
4A;BOUCHA;Abdel Ilah;;aboucha;bapiku
|
||||
4A;BOUNAALA;Younes;;ybounaala;dotinu
|
||||
4A;CHANTREUX;Jade;;jchantreux;pixifa
|
||||
4A;COSTAS;Stephanie;;scostas;jesode
|
||||
4A;DE MONICAULT;Baudouin;;bdemonicaul;rejero
|
||||
4A;DEBOOM;Julien;;jdeboom;lakuta
|
||||
4A;DELMONT;Emilie;;mdelmont;gekuse
|
||||
4A;FERREIRA;Sergio;;sferreira;wisoye
|
||||
4A;FRIDI;Anael;;afridi;nifari
|
||||
4A;GAYOUS;Matthieu;;mgayous;lolowa
|
||||
4A;GRAFEEV;Alice;;agrafeev;wuheho
|
||||
4A;HEMBERT;Lucas;;lhembert;tugewo
|
||||
4A;HENAFF;Nolwenn;;nhenaff1;jucedu
|
||||
4A;KLYM;Elyas;;eklym;yarebo
|
||||
4A;LANSADE;Pierre-Felix;;plansade;negexi
|
||||
4A;LARROQUE;Diego;;dlarroque;jepetu
|
||||
4A;LE SEGRETAIN DU PATIS;Anne-Fleur;;alesegretai;pixaza
|
||||
4A;MARCHETTI;Jade;;jmarchetti;lajodi
|
||||
4A;MARTINS DOS SANTOS;Angela;;amartinsdos;bexone
|
||||
4A;MOUAOU;Ayoub;;amouaou;rojujo
|
||||
4A;PANTOJA GANCHEE;JHENIFF;;jpantoja;jheniff
|
||||
4A;PERRON;Clea;;cperron;fefiwe
|
||||
4A;PRUDHOMME;Marion;;mprudhomme;vujuxo
|
||||
4A;ROBLES;Julienne;;jrobles;xunabi
|
||||
4A;ROBLES;Marjorie;;mrobles;besaco
|
||||
4A;SEMIA;Jawad;;jsemia;vasose
|
||||
4A;TAILLEFER;Jean-Mathieu;;mtaillefer;reweya
|
||||
4A;THOMAS;Saveria;;sthomas;momuzu
|
||||
4A;VUILLAMIER;Bastien;;bvuillamier;xitena
|
||||
4B;BIEKER;Bluenn;;bbieker;karuwo
|
||||
4B;BOLLON;Anthony;;abollon1;fovaca
|
||||
4B;BOLLON;Nicolas;;nbollon;yinubo
|
||||
4B;BOTELLO;Fabien;;fbotello;dodaxi
|
||||
4B;CARDOSO SAMPAIO;Roberto;;rcardososam;zozesu
|
||||
4B;CASSERON;Mallory;;mcasseron;jixura
|
||||
4B;CHAMBON;Armand;;achambon;feheka
|
||||
4B;COIFFIER;Emma;;ecoiffier;vinoke
|
||||
4B;DAHLBERG;Louise;;ldahlberg;jibayo
|
||||
4B;DAHMANI;Rima;;rdahmani;pigoze
|
||||
4B;DAVID;Thomas;;tdavid;tasuju
|
||||
4B;DETIENNE;Chloe;;cdetienne;gapazu
|
||||
4B;ETIENNE;Thibault;;tetienne;tixoso
|
||||
4B;FADY;Olivia;;ofady;lasata
|
||||
4B;FERRANDINI;Jean-Francois;;jferrandini;dotado
|
||||
4B;HANTZBERG;Thomas;;thantzberg;maneyo
|
||||
4B;KERSUZAN;Theo;;tkersuzan;jasoho
|
||||
4B;MARANHAO SAMPAIO LIMA;Marco;;mmaranhaosa;hacexi
|
||||
4B;MEYER;Elisa;;emeyer;cedace
|
||||
4B;PERRIN;Jerome;;jperrin;vegewi
|
||||
4B;RAOUL;Gauthier;;graoul;hekupa
|
||||
4B;RIBEIRO RODRIGUES;Diana;;dribeirod;wudiwe
|
||||
4B;SCHRAMM;Massilia;;mschramm;zuwocu
|
||||
4B;SEGHAIER;Ahmed;;aseghaier;wojina
|
||||
4B;SPINELLI;Quentin;;qspinelli;pubuzi
|
||||
4B;TANASOIU;Cristian;;ctanasoiu;dipizo
|
||||
4B;TERIITEHAU-MARTIN;Ihsan Niuhiti;;iteriitehau;rutuya
|
||||
4B;TUTTLE;Lucas;;ltuttle;domotu
|
||||
4B;VIGNAT-ROUBAUD;Lorenzo;;lroubaud2;wutozi
|
||||
4C;AGOSTINI;Claudia;;cagostini4;heduji
|
||||
4C;ANDREANI;Vincent;;vandreani2;mepemi
|
||||
4C;BARBE;Ugo;;ubarbe;folaya
|
||||
4C;BENAGHAZI;Fiona;;fbenaghazi;huzola
|
||||
4C;CHERUBINI;Claire;;ccherubini;zowase
|
||||
4C;DELLACROCE;Noel;;ndellacroce;yimuto
|
||||
4C;FERNANDES GOMES;Fatima;;gfernandes;ruxatu
|
||||
4C;FERRETTI;Sofiane;;sferretti;fozaje
|
||||
4C;FOLLANA;Lucia;;lfollana;namono
|
||||
4C;FONDACCI;Aurelie;;afondacci;jazowa
|
||||
4C;GRAC;Carla;;cgrac;veloro
|
||||
4C;HITER-BENISTY;Luana;;lhiterbenis;xemere
|
||||
4C;LEVY;Thomas;;tlevy;koxalu
|
||||
4C;LUCIANI;Oceane;;oluciani2;loruwa
|
||||
4C;MANICACCI;Lea;;lmanicacci;poyupi
|
||||
4C;MARANINCHI;Ghjuvan-Dume;;gmaraninchi;mukuti
|
||||
4C;MARIOTTI;Angela;;amariotti;xeweje
|
||||
4C;NEIVA BARBOSA;Diogo;;dneivabardo;milagu
|
||||
4C;NIETO-FERRANDI;Jean-Joseph;;jnietoferra;pihudu
|
||||
4C;RAVON;Julia;;jravon;wuxisu
|
||||
4C;SAADI;Chemseddine;;csaadi;cenelu
|
||||
4C;SCOFFONI;Dominique;;dscoffoni;gawivi
|
||||
4C;TIBODO;Laura;;ltibodo;bifuga
|
||||
4D;BELMONTE;Doriane;;dbelmonte;ganoli
|
||||
4D;BOUHLEL;Sarra;;sbouhlel;woxeja
|
||||
4D;CH<43>TELAIS-SANNA;Baptiste;;bchatelaiss;leyawa
|
||||
4D;COLOMBANI;Anthony;;acolombani2;fituno
|
||||
4D;CRUCIANI;Massimu;;mcruciani2;jawizu
|
||||
4D;DEMONGEOT;Margot;;mdemongeot;sawane
|
||||
4D;DIDIER;Erwann;;edidier2;debuse
|
||||
4D;DIETZ;Jessica;;jdietz;jowici
|
||||
4D;FALCO;Louis;;lfalco;jaduvi
|
||||
4D;FUMEI;Rachele;;rfumei;palaja
|
||||
4D;HEMERY;Leo;;lhemery;yiluja
|
||||
4D;LICCIA;Saveria;;sliccia;yeveda
|
||||
4D;MANGION;Charlotte;;cmangion;jokebu
|
||||
4D;MARCHETTI;Olivier;;omarchetti;hatafi
|
||||
4D;MERCURI;Robin;;rmercuri;nizuco
|
||||
4D;MOREL;Elina;;emorel;jebuju
|
||||
4D;MURATI-ANDREANI;Marie-Pierre;;mmuratiandr;robemi
|
||||
4D;ORSINI;Thomas;;torsini;juheci
|
||||
4D;PAJER;Julia;;jpajer;duzuho
|
||||
4D;RAISSE;Maissae;;mraisse;cocena
|
||||
4D;RENAULT;Louise;;lrenault;ciravo
|
||||
4D;USAI;Lisandru;;lusai;zedoza
|
||||
4D;VAILLANT;Eva;;evaillant2;bomipe
|
||||
3e test;Bob;Bob;;bbob3;zekzek
|
||||
3A;ANTONIOTTI;Maria;;mantoniotti;bewuja
|
||||
3A;ASTUDILLO;David;;dastudillo;zuduxa
|
||||
3A;BENKORBAA;Anyssa;;abenkorbaa;halaxi
|
||||
3A;BRAS RIBEIRO CORREIA;Saveria;;sribeiro;sixama
|
||||
3A;BRIAL;Pauline;;pbrial;kipage
|
||||
3A;CHAKIR;Yasmine;;ychakir;bigike
|
||||
3A;CORNET;Celia;;ccornet;veyomu
|
||||
3A;COURTOIS;Clement;;ccourtois;vitufe
|
||||
3A;DE FARIA ALVES;Lucas;;lfaria;safipa
|
||||
3A;DESTAILLEUR;Antoine;;adestailleur;zutoko
|
||||
3A;DESVIGNES;Lisa;;ldesvignes;velode
|
||||
3A;DOMINICI;Jean-Laurent;;ldominici;fobama
|
||||
3A;DUPRE;Maelle;;mdupre;baperi
|
||||
3A;EL AMIN;Fatiha;;famin;varafe
|
||||
3A;FARIA ARAUJO;Catarina;;FARAUJO;vufehu
|
||||
3A;GALA;Karolina;;kgala;xaziyi
|
||||
3A;GARCIA;Kevin;;kgarcia;sizohe
|
||||
3A;GARCIA;Lucas;;lgarcia;jokifo
|
||||
3A;KOMARSKI;Petar;;pkomarski;cemowe
|
||||
3A;LE DIGABEL;Lilian;;ldigabel;toyuha
|
||||
3A;LHOSTE;Lucie;;llhoste;zinije
|
||||
3A;MARTINEZ;Clement;;cmartinez;tusewo
|
||||
3A;MASSONI;Nicolas;;nmassoni1;tupeda
|
||||
3A;MICHELIX;Thomas;;tmichelix;torevi
|
||||
3A;MORETTI;Volana;;vmoretti;mulunu
|
||||
3A;NEFFATI;Nabil;;nneffati;sinoti
|
||||
3A;ORSINI;Angelina;;aorsini1;mirole
|
||||
3A;PENNEC;Maguelonne;;mpennec;warago
|
||||
3A;QUAILLET;Damien;;dquaillet;wolenu
|
||||
3A;SEMIA;Ilyas;;isemia;receba
|
||||
3B;ALBERTINI;Don Pierre;;dalbertini;kozuru
|
||||
3B;AMELLAL;Soufiane;;samellal;gesulo
|
||||
3B;BENDELE;Thomas;;tbendele;rutago
|
||||
3B;BERTONI;Alexia;;abertoni;gokahe
|
||||
3B;BRATZU;Jean-Fran<61>ois;;jbratzu;lupeyu
|
||||
3B;CHAPON;Justine;;jchapon;dotogo
|
||||
3B;BRECQUEVILLE; Fabio;;;
|
||||
3B;FARSY;Nathanael;;nfarsy;wuvomi
|
||||
3B;FOUREZ;Alexy;;afourez;zebepo
|
||||
3B;FRANCISCI;Pauline;;pfrancisci7;fazesu
|
||||
3B;GUGLIELMACCI;Alicia;;aguglielmac;gisete
|
||||
3B;JANVIER;Eva;;ejanvier;mobivo
|
||||
3B;KACZYNSKI;Elina;;ekaczynski;duwino
|
||||
3B;KEREFOFF;Ludmilla;;lkerefoff;gaheba
|
||||
3B;LECOMTE;Coline;;clecomte4;mihegu
|
||||
3B;LE DIGABEL;Lilian;;ldigabel;toyuha
|
||||
3B;MADONIA;Melanie;;mmadonia;huvago
|
||||
3B;MALASPINA;Antony;;amalaspina;vezovo
|
||||
3B;MALHERBES;Laurine;;lmalherbes;hobosu
|
||||
3B;MEZIERE;Cloe;;cmeziere;xunudi
|
||||
3B;NAVARRO-FLORES;Pierre;;pnavarroflo;hacuna
|
||||
3B;ROCAS DE LEMOS;Daniela;;drochadelem;ramepo
|
||||
3B;SANTINI;Nicolas;;nsantini;natova
|
||||
3B;SIELS;Nicolas;;nsiels;cacina
|
||||
3B;SOULIE;Anaelle;;asoulie;pifuke
|
||||
3B;SPINOSI;Pierre-Dominique;;pspinosi;derujo
|
||||
3B;VUILLAMIER;Marie-Amelie;;avuillamier;risigi
|
||||
3C;BORRI;Jean-Francois;;fborri;wuvite
|
||||
3C;BRUNO;Alessia;;abruno;kiwogi
|
||||
3C;CHINELLATO;Antoine;;achinellato;mehafi
|
||||
3C;CONSORTI;Tristan;;tconsorti;sewufo
|
||||
3C;CORDOLIANI;Camille;;ccordoliani;perawo
|
||||
3C;COSTA;Cassy;;ccosta;yuzuce
|
||||
3C;D'ANGELI;Lucile;;langeli;duboci
|
||||
3C;DUNIAUD;Maxime;;mduniaud;nukisi
|
||||
3C;DUNIAUD;Robin;;rduniaud;losavo
|
||||
3C;ESCRIBA ALVAREZ;Maureen;;mescriba;xagima
|
||||
3C;GIORICO;Lea;;lgiorico;nirito
|
||||
3C;GONDOIN;Jean-Felix;;fgondoin;ronufe
|
||||
3C;GUIL;Chloe;;cguil;lipeto
|
||||
3C;HELY;Anthony;;ahely;lovocu
|
||||
3C;HUITEL;Chiara;;chuitel;fayoce
|
||||
3C;KACZENSKI-FAVIER;Felicia;;fkaczenski;joloxu
|
||||
3C;LUIGGI;Emma;;eluiggi;mogipa
|
||||
3C;MAINETTI;Dominique;;dmainetti;cusuba
|
||||
3C;MAS;Karen;;kmas;xavozu
|
||||
3C;PREVOT;Thomas;;tprevot;yenera
|
||||
3C;ROCCHI;Marie;;mrocchi;luhufe
|
||||
3C;SIMEONI;Angela-Flora;;asimeoni;sayeli
|
||||
3C;TUMA;Julia;;jtuma;gicehe
|
||||
3C;VAUTIER;Dominique;;dvautier;wozote
|
||||
3C;VAUTIER;Lisandru;;lvautier;buvosi
|
||||
3C;VAUTIER;Mathieu;;mvautier;yeyasu
|
||||
3C;VIZSNYAI;Benjamin;;bvizsnyai;teyanu
|
||||
3C;VUILLAMIER;Marie-Amelie;;avuillamier;risigi
|
||||
3C;ZANOLINI;Baptiste;;bzanolini;gadifa
|
||||
3C;ZANOLINI;Nicolas;;nzanolini;wubeso
|
||||
3D;ACQUAVIVA;Caroline;;cacquaviva;xihohi
|
||||
3D;ALBERTINI;Leo;;lalbertini5;vogupo
|
||||
3D;ALBILLO;Samuel;;salbillo;javoho
|
||||
3D;BARTHELEMY;Vanina;;vbarthelemy;difobe
|
||||
3D;BENHADDOU;Said;;sbenhaddou;fujito
|
||||
3D;COLOMBANI;Jean-Pascal;;jcolombani2;yisefu
|
||||
3D;COUTINHO DE SA;Jerome;;jcoutinhode;boxigi
|
||||
3D;DAAGI;Youssef;;ydaagi;rewice
|
||||
3D;FOURNIER;Quentin;;qfournier;yemine
|
||||
3D;FRESNEDA;Loris;;lfresneda;besazu
|
||||
3D;GHOUL;Intissar;;ighoul;makano
|
||||
3D;GODBILLON;Manon;;mgodbillon;sesiga
|
||||
3D;GUERINI;Jean-Horace;;jguerini;xevego
|
||||
3D;LARANJERIA DOS SANTOS;Ricardo;;rlaranjeria;ximosu
|
||||
3D;MENDES;Francisco;;fmendes;dexugu
|
||||
3D;MULLER;Michel;;mmuller;fejese
|
||||
3D;NEIVA DA SILVA;Olivier;;oneivadasil;luwuma
|
||||
3D;OLIVIER;Franca;;folivier;cuwipi
|
||||
3D;OUAOUINE;Khalid;;kouaouine;batuyo
|
||||
3D;PELSENER;Delphine;;dpelsener;kexolu
|
||||
3D;PRUDHOMME;Lucas;;lprudhomme;xokope
|
||||
3D;RAINERI;Lara;;lraineri;wawasa
|
||||
3D;SALVINI;Vincent;;vsalvini;soxusi
|
||||
3D;SOLA;Florian;;fsola;vujohi
|
||||
3D;TOMASINI;Nicolas;;ntomasini3;ziwona
|
||||
|
64
4e/DM/DM_140401/exercices.py
Normal file
64
4e/DM/DM_140401/exercices.py
Normal file
@@ -0,0 +1,64 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
|
||||
from random_expression import RdExpression
|
||||
|
||||
def red_prod():
|
||||
form1 = "{a}x \\times {b}"
|
||||
cond1 = ["{a} != 1", "{b} > 1"]
|
||||
rdExp1 = RdExpression(form1, cond1, with_Exp = False)
|
||||
exp1 = rdExp1()
|
||||
|
||||
form2 = "{a}x \\times {b}x"
|
||||
cond2 = ["{a} != 1", "{b} > 1"]
|
||||
rdExp2 = RdExpression(form2, cond2, with_Exp = False)
|
||||
exp2 = rdExp2()
|
||||
|
||||
ans = "A &=& " + exp1 + "\\\\[0.5cm] B &=& " + exp2
|
||||
return ans
|
||||
|
||||
def red_somme():
|
||||
form1 = "{a}x + {b} + {c}x"
|
||||
cond1 = ["{a} != 1","{c} > 1"]
|
||||
#rdExp1 = RdExpression(form1, cond1, with_Exp = False)
|
||||
rdExp1 = RdExpression(form1, cond1)
|
||||
exp1 = rdExp1()
|
||||
|
||||
form2 = "{a}x + {b} + {c}x"
|
||||
cond2 = ["{a} != 1","{c} > 1"]
|
||||
#rdExp2 = RdExpression(form2, cond2, with_Exp = False)
|
||||
rdExp2 = RdExpression(form2, cond2)
|
||||
exp2 = rdExp2()
|
||||
|
||||
ans = "C &=& " + exp1 + " \\\\[0.5cm]"
|
||||
ans += "D &=& " + exp2
|
||||
return ans
|
||||
|
||||
def simple_prod():
|
||||
form = "{a}({b}x + {c})"
|
||||
cond = ["{a} != 1", "{b} != 1", "{c} > 1"]
|
||||
rdExp = RdExpression(form, cond, with_Exp = False)
|
||||
return rdExp()
|
||||
|
||||
def double_prod():
|
||||
form = "({a}x - {d})({b}x + {c})"
|
||||
cond = ["{a} != 1", "{b} != 1", "{d} > 1", "{c} > 1"]
|
||||
rdExp = RdExpression(form, cond, with_Exp = False)
|
||||
return rdExp()
|
||||
|
||||
def carre_prod():
|
||||
form = "({a}x + {d})^2"
|
||||
cond = ["{a} != 1", "{d} > 1"]
|
||||
rdExp = RdExpression(form, cond, with_Exp = False)
|
||||
return rdExp()
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
# cursor: 16 del
|
||||
37
4e/DM/DM_140401/index.rst
Normal file
37
4e/DM/DM_140401/index.rst
Normal file
@@ -0,0 +1,37 @@
|
||||
Notes sur un DM pour les 4e
|
||||
###########################
|
||||
|
||||
:date: 2014-04-01
|
||||
:modified: 2014-07-01
|
||||
:tags: DM, Nombres Calculs, Calculs Algebrique
|
||||
:category: 4e
|
||||
:authors: Benjamin Bertrand
|
||||
:summary: Pas de résumé, note créée automatiquement parce que je ne l'avais pas bien fait...
|
||||
|
||||
|
||||
|
||||
`Lien vers avril_1.pdf <avril_1.pdf>`_
|
||||
|
||||
`Lien vers avril_1.tex <avril_1.tex>`_
|
||||
|
||||
`Lien vers DM_avril2_4D.pdf <DM_avril2_4D.pdf>`_
|
||||
|
||||
`Lien vers DM_avril2_4C.pdf <DM_avril2_4C.pdf>`_
|
||||
|
||||
`Lien vers rd_eq.py <rd_eq.py>`_
|
||||
|
||||
`Lien vers rd_fact.py <rd_fact.py>`_
|
||||
|
||||
`Lien vers avril_2.tex <avril_2.tex>`_
|
||||
|
||||
`Lien vers DM_maker.py <DM_maker.py>`_
|
||||
|
||||
`Lien vers number_rotation.py <number_rotation.py>`_
|
||||
|
||||
`Lien vers 04_dev_subj.pdf <04_dev_subj.pdf>`_
|
||||
|
||||
`Lien vers DM_avril2.pdf <DM_avril2.pdf>`_
|
||||
|
||||
`Lien vers exercices.py <exercices.py>`_
|
||||
|
||||
`Lien vers DM_avril2.tex <DM_avril2.tex>`_
|
||||
72
4e/DM/DM_140401/number_rotation.py
Executable file
72
4e/DM/DM_140401/number_rotation.py
Executable file
@@ -0,0 +1,72 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
import jinja2, random, os
|
||||
import sys
|
||||
import optparse
|
||||
|
||||
|
||||
from exercices import red_somme, red_prod, simple_prod, double_prod, carre_prod
|
||||
|
||||
exo = {'red_somme':red_somme, 'red_prod': red_prod, 'simple_prod': simple_prod, 'double_prod': double_prod, 'carre_prod': carre_prod}
|
||||
|
||||
|
||||
|
||||
report_renderer = jinja2.Environment(
|
||||
block_start_string = '%{',
|
||||
block_end_string = '%}',
|
||||
variable_start_string = '%{{',
|
||||
variable_end_string = '%}}',
|
||||
loader = jinja2.FileSystemLoader(os.path.abspath('.'))
|
||||
)
|
||||
|
||||
def main(options):
|
||||
template = report_renderer.get_template(options.template)
|
||||
|
||||
cwd = os.getcwd()
|
||||
|
||||
if options.output:
|
||||
output_name = options.output
|
||||
else:
|
||||
tpl_base = os.path.splitext(options.template)[0]
|
||||
output_name = tpl_base + "_"
|
||||
|
||||
output_dir = os.path.dirname(output_name)
|
||||
output_basename = os.path.basename(output_name)
|
||||
output_tplname = output_basename.split("/")[-1]
|
||||
|
||||
os.chdir(output_dir)
|
||||
|
||||
for subj in range(options.num_subj):
|
||||
subj = subj+1
|
||||
dest = output_tplname + str(subj) + '.tex'
|
||||
with open( dest, 'w') as f:
|
||||
f.write(template.render(exo = exo ,infos = {"subj" : subj}))
|
||||
os.system("pdflatex " + dest)
|
||||
|
||||
if not options.dirty:
|
||||
os.system("rm *.aux *.log")
|
||||
|
||||
os.chdir(cwd)
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
|
||||
parser = optparse.OptionParser()
|
||||
parser.add_option("-t","--tempalte",action="store",type="string",dest="template", help="File with template")
|
||||
parser.add_option("-o","--output",action="store",type="string",dest="output",help="Base name for output (without .tex or any extension))")
|
||||
parser.add_option("-n","--number_subjects", action="store",type="int", dest="num_subj", default = 2, help="The number of subjects to make")
|
||||
parser.add_option("-d","--dirty", action="store_true", dest="dirty", help="Do not clean after compilation")
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if not options.template:
|
||||
print("I need a template!")
|
||||
sys.exit(0)
|
||||
|
||||
main(options)
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
# cursor: 16 del
|
||||
39
4e/DM/DM_140401/rd_eq.py
Normal file
39
4e/DM/DM_140401/rd_eq.py
Normal file
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
from random_expression import RdExpression
|
||||
from random import choice
|
||||
|
||||
affine = RdExpression("{a}x + {b}", \
|
||||
conditions =["{b} > 0"], \
|
||||
with_Exp = False)
|
||||
affine_minus = RdExpression("{a}x - {b}",
|
||||
conditions =["{b} > 0"], \
|
||||
with_Exp = False)
|
||||
affine_frac = RdExpression("\frac{ {a} }{ {c} }x + {b}", \
|
||||
conditions =["{b} > 0", "{c} > 0"], \
|
||||
with_Exp = False)
|
||||
|
||||
double_prod = RdExpression("({a}x + {b})({c}x + {d})",
|
||||
conditions =["{b} > 0", "{d} >0"], \
|
||||
with_Exp = False)
|
||||
double_prod_minus1 = RdExpression("({a}x - {b})({c}x + {d})",
|
||||
conditions =["{b} > 0", "{d} >0"], \
|
||||
with_Exp = False)
|
||||
double_prod_minus2 = RdExpression("({a}x + {b})({c}x - {d})",
|
||||
conditions =["{b} > 0", "{d} >0"], \
|
||||
with_Exp = False)
|
||||
|
||||
eq = {"affine" : lambda : choice([affine, affine_minus])(), \
|
||||
"affine_frac": affine_frac, \
|
||||
"double_prod": lambda: choice([double_prod, double_prod_minus1, double_prod_minus2])()}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
# cursor: 16 del
|
||||
58
4e/DM/DM_140401/rd_fact.py
Normal file
58
4e/DM/DM_140401/rd_fact.py
Normal file
@@ -0,0 +1,58 @@
|
||||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
|
||||
|
||||
from random_expression import RdExpression
|
||||
from random import choice
|
||||
|
||||
|
||||
fact1 = RdExpression("{c}({a}x + {b}) + {f}({a}x + {b})",\
|
||||
conditions = ["{b} > 0"], \
|
||||
with_Exp = False)
|
||||
|
||||
fact2 = RdExpression("({a}x + {b})({c}x - {d}) + ({a}x + {b})({e}x + {f})",\
|
||||
conditions = ["{b} > 0", "{d} > 0", "{f} > 0", "{e} != {c}"] , \
|
||||
with_Exp = False)
|
||||
|
||||
fact3 = RdExpression("({a}x + {b})({c}x - {d}) + ({c}x - {d})({e}x - {f})",\
|
||||
conditions = ["{b} > 0", "{d} > 0", "{f} > 0", "{d} != {f}"], \
|
||||
with_Exp = False)
|
||||
|
||||
fact4 = RdExpression("({a}x + {b})({c}x - {d}) - ({a}x + {b})({e}x + {f})",\
|
||||
conditions = ["{b} > 0", "{d} > 0", "{f} > 0", "{e} != {c}"], \
|
||||
with_Exp = False)
|
||||
|
||||
fact5 = RdExpression("({a}x + {b})({c}x - {d}) - ({c}x - {d})({e}x - {f})",\
|
||||
conditions = ["{b} > 0", "{d} > 0", "{f} > 0", "{d} != {f}"],\
|
||||
with_Exp = False)
|
||||
|
||||
id_rmq1 = RdExpression("{a**2}x^2 + {2*a*b}x + {b**2}",\
|
||||
conditions = ["{a} > 0", "{b} > 0"], \
|
||||
with_Exp = False)
|
||||
|
||||
id_rmq2 = RdExpression("{a**2}x^2 - {2*a*b}x + {b**2}",\
|
||||
conditions = ["{a} > 0", "{b} > 0"],\
|
||||
with_Exp = False)
|
||||
|
||||
id_rmq3 = RdExpression("{a**2}x^2 - {b**2}",\
|
||||
conditions = ["{a} > 0", "{b} > 0"], \
|
||||
with_Exp = False)
|
||||
|
||||
rd_fact = lambda : choice([fact2, fact3, fact4, fact5])()
|
||||
rd_id_rmq= lambda: choice([id_rmq1, id_rmq2, id_rmq3])()
|
||||
|
||||
fact = {"fact1" : fact1,\
|
||||
"fact2": fact2, \
|
||||
"fact3": fact3, \
|
||||
"fact4": fact4, \
|
||||
"fact5": fact5, \
|
||||
"id_rmq1":id_rmq1, \
|
||||
"id_rmq2":id_rmq2, \
|
||||
"id_rm3": id_rmq3, \
|
||||
"rd_fact" : rd_fact, \
|
||||
"rd_id_rmq" : rd_id_rmq }
|
||||
|
||||
# -----------------------------
|
||||
# Reglages pour 'vim'
|
||||
# vim:set autoindent expandtab tabstop=4 shiftwidth=4:
|
||||
# cursor: 16 del
|
||||
Reference in New Issue
Block a user