<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://dvillers.umons.ac.be/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://dvillers.umons.ac.be/wiki/feed.php">
        <title>Didier Villers, UMONS - wiki</title>
        <description></description>
        <link>https://dvillers.umons.ac.be/wiki/</link>
        <image rdf:resource="https://dvillers.umons.ac.be/wiki/_media/favicon.ico" />
       <dc:date>2026-05-04T02:17:00+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:ph_acides_bases_2013?rev=1385720173&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:pieges?rev=1463345269&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-7?rev=1551089191&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:presentation_principes?rev=1676987780&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:calcul_matriciel_2012?rev=1385724811&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:conversion_temperature_2011?rev=1392102998&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:courbe_predominance_acide_2013?rev=1385644689&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:dictionaries_adn_arn_protein?rev=1457104465&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:ensemble_mandelbrot_2013?rev=1425312075&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:factorielle-2?rev=1487924363&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:game_of_life_conway-2012?rev=1615285789&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:grille_configurations_melange_binaire_2013?rev=1385719509&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:jupyter?rev=1654844164&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:notions_avancees?rev=1683016596&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:notions_fondamentales?rev=1683095960&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:pavage_penrose_2013?rev=1385644133&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes?rev=1488270463&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-8?rev=1487932998&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-10?rev=1487933613&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-11?rev=1487933931&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-bonus?rev=1646141806&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:pressions_partielles_systemes_non_ideaux?rev=1457103767&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:regression_lineaire_2013?rev=1385642321&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:representation_molecules_2013?rev=1583761370&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:solubilite_ph_t?rev=1457101472&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:tableau_periodique_2013?rev=1586858596&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:ir_spectrum_co?rev=1431417884&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://dvillers.umons.ac.be/wiki/_media/favicon.ico">
        <title>Didier Villers, UMONS - wiki</title>
        <link>https://dvillers.umons.ac.be/wiki/</link>
        <url>https://dvillers.umons.ac.be/wiki/_media/favicon.ico</url>
    </image>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:ph_acides_bases_2013?rev=1385720173&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-29T11:16:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:ph_acides_bases_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:ph_acides_bases_2013?rev=1385720173&amp;do=diff</link>
        <description>Représentation de pH d&#039;acides et de bases

Pour les acides :

&lt;sxh python; title : representation_pH_acide.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# travail de QD et TB, ba2 chimie 2012-2013

import Tkinter as tk
from numpy import *
import matplotlib.pyplot as plt</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:pieges?rev=1463345269&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-05-15T22:47:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:pieges</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:pieges?rev=1463345269&amp;do=diff</link>
        <description>Pièges à éviter

Quelques pièges à éviter !

Type de données

	*  travailler avec des nombres et ne pas mettre le point décimal s&#039;ils ont une valeur entière les laissera dans le type &#039;int&#039;.
	*  Ne pas confondre une liste contenant un nombre, et ce nombre.</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-7?rev=1551089191&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-02-25T11:06:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-7</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-7?rev=1551089191&amp;do=diff</link>
        <description>Polynômes : comment les multiplier par un scalaire et les additionner


#!/usr/bin/env python
# -*- coding: UTF-8 -*-
&quot;&quot;&quot;
écriture d&#039;un programme pour évaluer
des polynomes
+ fonction de multiplication d&#039;un polynôme pas un scalaire
+ fonction d&#039;addition de deux polynômes
&quot;&quot;&quot;
from math import *

def polyeval(x,a):
    &quot;&quot;&quot;
    application de l&#039;agorithme de Horner
    cf. http://fr.wikipedia.org/wiki/M%C3%A9thode_de_Ruffini-Horner
    &quot;&quot;&quot;
    n = len(a) - 1 # n = ordre du polynôme
    p =0.
    for…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:presentation_principes?rev=1676987780&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-02-21T14:56:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:presentation_principes</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:presentation_principes?rev=1676987780&amp;do=diff</link>
        <description>~~REVEAL transition=convex&amp;controls=1&amp;show_progress_bar=1&amp;build_all_lists=1&amp;open_in_new_window=1~~

Programmer en Python

Généralités

	*  Qu&#039;est-ce qu&#039;un langage de programmation ?
	*  Compilation ou interprétation, ou... ?

Rôle des langages de programmation</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:calcul_matriciel_2012?rev=1385724811&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-29T12:33:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:calcul_matriciel_2012</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:calcul_matriciel_2012?rev=1385724811&amp;do=diff</link>
        <description>Calul matriciel

&lt;sxh python; title : calcul_matriciel.py&gt;
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#&lt;http://www.siteduzero.com/tutoriel-3-223267-apprenez-a-programmer-en-python.html&gt; (pdf)
#&lt;http://stackoverflow.com/questions/455612/python-limiting-floats-to-two-decimal-points&gt;
#pour operation matriciel verification mathématique : &lt;http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Accueil_principal&gt;
#&lt;http://www.pythonfrance.com/codes/OPERATION-MATRICIELLE_48359.aspx&gt;
#&lt;http://inforef.be/swi/pyt…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:conversion_temperature_2011?rev=1392102998&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-02-11T08:16:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:conversion_temperature_2011</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:conversion_temperature_2011?rev=1392102998&amp;do=diff</link>
        <description>Conversion de températures

&lt;sxh python; title : convertisseur_temperature.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Conversion de témpératures
# programme réalisé par AC&amp;JD, ba2 chimie 2010-2011

from Tkinter import *

def delwidgets():</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:courbe_predominance_acide_2013?rev=1385644689&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-28T14:18:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:courbe_predominance_acide_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:courbe_predominance_acide_2013?rev=1385644689&amp;do=diff</link>
        <description>Courbe de Prédominance d&#039;un Acide

&lt;sxh python; title : courbe_predominance_acide.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# travail de KH, ba2 chimie 2012-2013

# Courbe de Prédominance d&#039;un Acide #
from math import *
import matplotlib.pyplot as plt
from Tkinter import *</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:dictionaries_adn_arn_protein?rev=1457104465&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-04T16:14:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:dictionaries_adn_arn_protein</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:dictionaries_adn_arn_protein?rev=1457104465&amp;do=diff</link>
        <description>Traduction ADN-ARN-protéine

Avec l&#039;interface Tk. Voir aussi le programme Traduction de l&#039;ADN en séquence d&#039;acides aminés (protéine) : utilisation d&#039;un dictionnaire (type Python)

&lt;sxh  python; title : dictionaries_adn_arn_protein.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
“”“
Traduction de codes ADN en ARN et protéine.
Basé sur le travail de NR et CVDD, ba2 chimie 2013-2014</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:ensemble_mandelbrot_2013?rev=1425312075&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-03-02T17:01:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:ensemble_mandelbrot_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:ensemble_mandelbrot_2013?rev=1425312075&amp;do=diff</link>
        <description>Ensemble de Mandelbrot

Dessin d&#039;une fractale : l&#039;ensemble de Mandelbrot

&lt;sxh python; title : ensemble_mandelbrot.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# version un peu aménagée du travail de BF, ba2 chimie 2012-2013
# ref : &lt;http://fr.wikipedia.org/wiki/Ensemble_de_Mandelbrot&gt;

from Tkinter import *
from random import randrange</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:factorielle-2?rev=1487924363&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-24T09:19:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:factorielle-2</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:factorielle-2?rev=1487924363&amp;do=diff</link>
        <description>Factorielle : un premier programme

Voici un embryon non fonctionnel de programme. Il y manque des éléments (à la place des “???”)


#! /usr/bin/env python
# -*- coding: utf-8 -*-
&quot;&quot;&quot;
Calcul de la factorielle d&#039;un nombre
Référence : http://fr.wikipedia.org/wiki/Factorielle
&quot;&quot;&quot;
# on demande le nombre :
print(&quot;Calcul de la factorielle de n&quot;)
chainelue = input(&quot;Que vaut n ? &quot;)
n = int(chainelue)
print(n)

# structure de répétition pour appliquer la définition de la factorielle
reponse=1  # la répon…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:game_of_life_conway-2012?rev=1615285789&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-09T11:29:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:game_of_life_conway-2012</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:game_of_life_conway-2012?rev=1615285789&amp;do=diff</link>
        <description>Jeu de la vie de Conway
Game of Life with Python


#!/usr/bin/env python 
# -*- coding: utf-8 -*-
&quot;&quot;&quot;A minimal implementation of Conway&#039;s Game of Life.

source : http://www.exolete.com/code/life
modified by par Jérémie Knoops, BA2 chimie UMONS, 2011-2012
cf. http://fr.wikipedia.org/wiki/Jeu_de_la_vie
&amp; http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
Each cell&#039;s survival depends on the number of occupied nearest and
next-nearest neighbours (calculated in Grid::step). A living cell dies
of ov…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:grille_configurations_melange_binaire_2013?rev=1385719509&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-29T11:05:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:grille_configurations_melange_binaire_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:grille_configurations_melange_binaire_2013?rev=1385719509&amp;do=diff</link>
        <description>Création d&#039;une grille et de configurations d&#039;un système binaire modélisé

&lt;sxh python; title : grille_configurations_melange_binaire.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# travail de ML et MP, ba2 chimie 2012-2013
# Création d&#039;une grille et de configurations d&#039;un système binaire modélisé</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:jupyter?rev=1654844164&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-06-10T08:56:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:jupyter</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:jupyter?rev=1654844164&amp;do=diff</link>
        <description>Jupyter, IPython Notebooks et JupyterLab

	*  Jupyter a succédé à IPython Notebook
	*  Jupyter est installé par défaut avec la distribution python Anaconda. C&#039;est la manière la plus adéquate d&#039;utiliser Jupyter.
	*  Sinon, on peut utiliser facilement les notebooks Jupyter sur la plateforme</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:notions_avancees?rev=1683016596&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-05-02T10:36:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:notions_avancees</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:notions_avancees?rev=1683016596&amp;do=diff</link>
        <description>Notions avancées

En construction. Les liens sont juste donnés. Une introduction et un exemple devrait être proposé pour chaque rubrique, et le nombre de ces rubriques augmenté.

Itérateurs

Itertools, zip,...

	*  7 Levels of Using the Zip Function in Python
	*  itertools.cycle() est une méthode utile pour répéter ou parcourir sans fin les éléments d&#039;une liste ou d&#039;une table itérativitertools.accumulate()</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:notions_fondamentales?rev=1683095960&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-05-03T08:39:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:notions_fondamentales</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:notions_fondamentales?rev=1683095960&amp;do=diff</link>
        <description>Notions fondamentales

Aide mémoire synthétique sur le langage Python.

Règles de base

Ces règles peuvent être testées via le mode interactif de Python (en utilisant la fenêtre “Shell” ou console de l&#039;éditeur Idle ou Idle3 par exemple).</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:pavage_penrose_2013?rev=1385644133&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-28T14:08:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:pavage_penrose_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:pavage_penrose_2013?rev=1385644133&amp;do=diff</link>
        <description>Pavage de Penrose

&lt;sxh python; title : pavage_penrose.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# réference :  &lt;http://preshing.com/20110831/penrose-tiling-explained&gt;
# version un peu aménagée du travail de EC et LP, ba2 chimie 2012-2013

import math
import cmath
import cairo

 # definir le nombre d&#039;or 
goldenRatio = (1 + math.sqrt(5)) / 2</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes?rev=1488270463&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-28T09:27:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes?rev=1488270463&amp;do=diff</link>
        <description>Polynômes

Travail avec des polynômes :

	*  un polynôme est une fonction
	*  un polynôme est caractérisé de manière univoque par ses coefficients
	*  le degré d&#039;un polynôme est l&#039;exposant qui caractérise le terme de puissance la plus élevée</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-8?rev=1487932998&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-24T11:43:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-8</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-8?rev=1487932998&amp;do=diff</link>
        <description>Polynômes : graphes de fonctions polynomiales


#!/usr/bin/env python
# -*- coding: UTF-8 -*-
&quot;&quot;&quot;
écriture d&#039;un programme pour évaluer
des polynomes
&quot;&quot;&quot;
from math import *
from pylab import *   # librairies de graphiques (matplotlib)

def polyeval(x,a):
    &quot;&quot;&quot;
    application de l&#039;agorithme de Horner
    cf. http://fr.wikipedia.org/wiki/M%C3%A9thode_de_Ruffini-Horner
    &quot;&quot;&quot;
    n = len(a)-1 # n = ordre du polynome
    p = 0.
    for i in range(n,-1,-1):
        p = p*x + a[i]
    return p

def…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-10?rev=1487933613&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-24T11:53:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-10</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-10?rev=1487933613&amp;do=diff</link>
        <description>Polynômes : fonctionnalités supplémentaires

Voici quelques fonctions utiles pour manipuler les polynômes :

Dérivation

Proposé et testé par RL, étudiant ba2 2012-2013.


#!/usr/bin/env python
# -*- coding: utf-8 -*-
def polyderiv(a):
    &quot;&quot;&quot;
    dérivation d&#039;un polynôme
    &quot;&quot;&quot;
    b = a[:]       #copie de la liste des coefficients du polynôme de départ
    n = len(b) -1  #ordre du polynôme
    for i in range (n+1):
        b[i] = b[i] * i  #on redéfinit chaque coefficient i de la liste par ce…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-11?rev=1487933931&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-24T11:58:51+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-11</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-11?rev=1487933931&amp;do=diff</link>
        <description>Graphe d&#039;une famille de polynômes orthogonaux

Voici un programme permettant de visualiser les premiers polynômes orthogonaux de Tchebyshev :


#!/usr/bin/env python
# -*- coding: utf-8 -*-
&quot;&quot;&quot;
graphes de Polynomes de Chebyschev
&quot;&quot;&quot;

from math import *
from pylab import *

def polyeval(x,a):
    &quot;&quot;&quot;
    application de l&#039;algorithme de Horner
    cf. http://fr.wikipedia.org/wiki/M%C3%A9thode_de_Ruffini-Horner
    &quot;&quot;&quot;
    n = len(a)-1 # n = ordre du polynome
    p = 0.
    for i in range(n,-1,-1):
…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-bonus?rev=1646141806&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-03-01T14:36:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-bonus</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-bonus?rev=1646141806&amp;do=diff</link>
        <description>Polynômes : bonus

Décomposition d&#039;un polynôme en somme de deux polynômes, pair et impair


#!/usr/bin/env python
# -*- coding: UTF-8 -*-
&quot;&quot;&quot;
décomposition d&#039;un polynôme en deux polynômes, respectivement pair et impair,
qui par sommation rendent le polynôme intial


&quot;&quot;&quot;
def polyadd(a,b):
    &quot;&quot;&quot;
    Addition de deux polynômes de coefficients a et b
    &quot;&quot;&quot;
    r = a[:]      # on travaille sur une copie de a pour ne pas le modifier
    t = b[:]      # idem pour b	
    g = []        # polynôme som…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:pressions_partielles_systemes_non_ideaux?rev=1457103767&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-04T16:02:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:pressions_partielles_systemes_non_ideaux</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:pressions_partielles_systemes_non_ideaux?rev=1457103767&amp;do=diff</link>
        <description>Graphiques des pressions partielles de systèmes non-idéaux

&lt;sxh  python; title : pressions_partielles_systemes_non_ideaux.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
“”“
Graphiques des pressions partielles de systèmes non-idéaux
Basé sur le travail de ML et VM, ba2 chimie 2013-2014</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:regression_lineaire_2013?rev=1385642321&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2013-11-28T13:38:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:regression_lineaire_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:regression_lineaire_2013?rev=1385642321&amp;do=diff</link>
        <description>Régression linéaire

Entrée de couples, calcul et affichage de la droite de moindres carrés

&lt;sxh python; title : fit_linear.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# version un peu aménagée du travail de BD et EH, ba2 chimie 2012-2013

import matplotlib.pyplot as plt
import pylab
import numpy</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:representation_molecules_2013?rev=1583761370&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-03-09T14:42:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:representation_molecules_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:representation_molecules_2013?rev=1583761370&amp;do=diff</link>
        <description>Représentation de molécules

Page à actualiser...

Certaines fonctions de ce programme nécessite des fichiers de données : [base.csv] et [bdd.csv]
&lt;sxh python; title : representation_molecules.py&gt;
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# travail de RL, ba2 chimie 2012-2013</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:solubilite_ph_t?rev=1457101472&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-04T15:24:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:solubilite_ph_t</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:solubilite_ph_t?rev=1457101472&amp;do=diff</link>
        <description>Solubilité en fonction du pH et de la température

Interface en ligne de commande et graphiques matplotlib

Nécessite [ce fichier de données] (à décompresser).

&lt;sxh  python; title : evolution_solubilite_pH_T.py&gt;
#!/usr/bin/env python
# -*- coding: utf-8 -*-
“”“</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:tableau_periodique_2013?rev=1586858596&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-04-14T12:03:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:tableau_periodique_2013</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:tableau_periodique_2013?rev=1586858596&amp;do=diff</link>
        <description>Tableau périodique

Tableau avec éléments cliquables pour obtenir les information. Nécessite [ce fichier de données].


#!/usr/bin/env python
# -*- coding: utf-8 -*-
# version un peu aménagée du travail de TD et SD, ba2 chimie 2012-2013
 
def elem(x):
    # print type(x),x # pour montrer que x est une chaîne de caractères
    element=Tk()
    element.title(&quot;Propriété du&quot;+ x )
    elembox=Listbox(element,height=32,width=40,fg=&quot;#070942&quot;)
    elembox.pack()
    for item in table[int(x)]:  
        …</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:ir_spectrum_co?rev=1431417884&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-12T10:04:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:matplotlib_gallery:ir_spectrum_co</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:ir_spectrum_co?rev=1431417884&amp;do=diff</link>
        <description>Spectre IR du CO

Différentes techniques de spectroscopie utilisent des représentations standardisées des spectres. En spectroscopie Infrarouge, l&#039;absorbance est traditionnellement représentée en fonction des nombres d&#039;ondes décroissants exprimés en $cm^{-1}$. Pour rappel, en spectroscopie, le $\tilde{\nu}$$\tilde{\nu} = 1/\lambda = \nu/c$$\Delta J = \pm 1$$cm^{-1}$</description>
    </item>
</rdf:RDF>
