<?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-03T06:39:16+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:algos_entiers?rev=1673337894&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:start?rev=1678698865&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:matplotlib_gallery:pka_pkb_plane?rev=1591103122&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:dictionary_adn_protein?rev=1354278487&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:epidemie_coronavirus?rev=1594605869&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:fit_modele_einstein?rev=1427896051&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_simple?rev=1689054396&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:pandas?rev=1668503305&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:factorielle-3?rev=1487924924&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:plot_sinus_cosinus?rev=1614090814&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-9?rev=1487933114&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:presentation_principes?rev=1676987780&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:scipy_simple?rev=1553252853&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:solvents_data_class?rev=1354279148&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:tkinter_gui_simple?rev=1674139591&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:potentiel_morse?rev=1582621465&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:courbe_predominance_acide_2013?rev=1385644689&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:csv?rev=1613035140&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:math_nombres?rev=1579006703&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:open_chemical_databases?rev=1430303508&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:plotly_simple?rev=1683016725&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-6?rev=1488272499&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: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:ppoo?rev=1674919878&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:print_format?rev=1649474538&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:recherches?rev=1458143140&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:testjs?rev=1493907208&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:trucs_astuces?rev=1682845776&amp;do=diff"/>
                <rdf:li rdf:resource="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:potentiel_energy_surface?rev=1607358147&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:algos_entiers?rev=1673337894&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-10T09:04:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:algos_entiers</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:algos_entiers?rev=1673337894&amp;do=diff</link>
        <description>Algorithmes sur entiers
cf.......
Cette page reprend quelques grands algorithmes classiques sur les nombres entiers, et introduit quelques algorithmes ayant des applications en chimie.

Recherche du PGCD (plus grand commun diviseur)

Explication géométrique : en comprenant un nombre entier comme une longueur et un couple d&#039;entiers (a,b) comme un rectangle, leur PGCD est la longueur du côté du plus grand carré permettant de carreler entièrement ce rectangle. L&#039;algorithme d&#039;Euclide décompose ce re…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:start?rev=1678698865&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-03-13T10:14:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:start</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:start?rev=1678698865&amp;do=diff</link>
        <description>Programmation appliquée à la chimie
&lt;https://lukasz.langa.pl/f15a8851-af26-4e94-a4b1-c146c57c9d20/&gt;
Aux dernières nouvelles (14/12/2022) Serhiy Storchaka vit toujours en Ukraine, à 20 km de Konotop !!

Le cours “Programmation appliquée à la chimie” de bachelier en sciences chimiques (15 H cours et 15 H exercices, bloc2) utilise deux supports :</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:matplotlib_gallery:pka_pkb_plane?rev=1591103122&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-06-02T15:05:22+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:matplotlib_gallery:pka_pkb_plane</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:pka_pkb_plane?rev=1591103122&amp;do=diff</link>
        <description>Couples acide-base dans le plan pKa/pKb

	*  Conventions sur les acides forts et les bases fortes : cf. Les acides, les bases et les sels qui nous entourent - Acide fort, base forte


#!/usr/bin/env python3
# -*- coding: utf-8 -*-

&quot;&quot;&quot;
Library references :
  * 

&quot;&quot;&quot;
import matplotlib.pyplot as plt  # directive d&#039;importation standard de Matplotlib
import numpy as np               # directive d&#039;importation standard de numpy

def cm2inch(*tupl):
    # https://stackoverflow.com/questions/14708695/sp…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:dictionary_adn_protein?rev=1354278487&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-11-30T13:28:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:dictionary_adn_protein</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:dictionary_adn_protein?rev=1354278487&amp;do=diff</link>
        <description>Traduction de l&#039;ADN en séquence d&#039;acides aminés

&lt;sxh  python; title : dictionary_adn_protein.py&gt;
#!/usr/bin/env python
# -*- coding: iso-8859-1 -*-

# python code to translante DNA sequences into proteins
# traduction de l&#039;ADN en séquence d&#039;acides aminés (protéine)</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:epidemie_coronavirus?rev=1594605869&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-07-13T04:04:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:epidemie_coronavirus</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:epidemie_coronavirus?rev=1594605869&amp;do=diff</link>
        <description>Épidémie du coronavirus COVID-19

Références :

	*  Coronavirus disease 2019
	*  Maladie à coronavirus 2019
	*  Coronavirus COVID-19 Global Cases by Johns Hopkins CSSE
	*  Coronavirus (COVID-19) Mortality Rate
	*  data : &lt;https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data&gt;

Programmes de représentations

FIXME

Quelques simulations SEIR effectuées par des scientifiques :

	*  Marius Gilbert (ULB/FNRS, Spatial Epidemiology lab (SpELL), &lt;https://twitter.com/mariusgilbert/sta…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:fit_modele_einstein?rev=1427896051&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-04-01T15:47:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:fit_modele_einstein</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:fit_modele_einstein?rev=1427896051&amp;do=diff</link>
        <description>Optimisation de la température caractéristique du diamant suivant le modèle d&#039;Einstein

Ce modèle prévoie la dépendance à la température de la capacité calorifique d’un solide cristallin.

La détermination de la température caractéristique nécessite de</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_simple?rev=1689054396&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-07-11T07:46:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:matplotlib_simple</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_simple?rev=1689054396&amp;do=diff</link>
        <description>Les bases de Matplotlib, une librairie pour réaliser des graphiques 2D

Matplotlib est une bibliothèque très puissante du langage de programmation Python destinée à tracer et visualiser des données sous formes de graphiques. Elle est souvent combinée avec les bibliothèques python de calcul scientifique :</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:pandas?rev=1668503305&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-11-15T10:08:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:pandas</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:pandas?rev=1668503305&amp;do=diff</link>
        <description>Pandas

Module pour l&#039;analyse de données, pouvant se substituer à l&#039;utilisation d&#039;un tableur. Une différence fondamentale de la librairie pandas avec NumPy, c&#039;est que les tableaux NumPy (NumPy arrays) ont le même type (dtype) pour le tableau entier, tandis que les tableaux pandas (pandas DataFrames) sont caractérisés par un type unique (dtype) par colonne.$X$$x$$P(x)$$X$$x$$x_1, x_2, x_3, ...$$X$$P(x_i)$$X$$x$$P(x)$$x$$x+dx$$P(x)$$x$$P(x) dx$$P(x) dx = P(x \le X &lt; x+dx)$$P(x_i) \ge 0$$x_i$$P(x) …</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:factorielle-3?rev=1487924924&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-24T09:28:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:factorielle-3</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:factorielle-3?rev=1487924924&amp;do=diff</link>
        <description>Factorielle : une fonction en Python

Voici une version avec la fonction factorielle()


#! /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;
def factorielle(arg_n):
    &quot;&quot;&quot;
    structure de répétition pour appliquer la définition de la factorielle
    &quot;&quot;&quot;
    reponse = 1               # la réponse sera dans la variable reponse
    i = 1                     # on va commencer par 1
    while i &lt;= arg_n:   …</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:plot_sinus_cosinus?rev=1614090814&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-23T15:33:34+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:plot_sinus_cosinus</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:plot_sinus_cosinus?rev=1614090814&amp;do=diff</link>
        <description>Graphe simple de sinus et cosinus

On montre en détail comment réaliser une représentation graphique simple des fonctions sinus et cosinus. Au départ le graphique utilisera les réglages par défaut et la figure sera ensuite améliorée pas à pas en commentant les instructions matplotlib utilisées.</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-9?rev=1487933114&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-24T11:45:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-9</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-9?rev=1487933114&amp;do=diff</link>
        <description>Polynômes : graphe multiple fonctions polynomiales


# -*- coding: utf-8 -*-
&quot;&quot;&quot;
graphe multiple de polynômes de Tchebyshev
cf. http://fr.wikipedia.org/wiki/Polyn%C3%B4me_de_Tchebychev
&quot;&quot;&quot;

from pylab import *   # librairie graphique (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 polynôme
    p = 0.
    for i in range(n,-1,-1):
        p = p*x + a[i]
    …</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: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:scipy_simple?rev=1553252853&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-03-22T12:07:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:scipy_simple</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:scipy_simple?rev=1553252853&amp;do=diff</link>
        <description>Les bases de SciPy

La librairie SciPy ajoute à NumPy des fonctionnalités mathématiques.

Directive d&#039;importation

	*  Méthode standard : 
import scipy as sp

	*  Importation par sous-modules (cf le site de Scipy) : 
from scipy import optimize
from scipy import interpolate
from scipy import integrate
...</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:solvents_data_class?rev=1354279148&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-11-30T13:39:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:solvents_data_class</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:solvents_data_class?rev=1354279148&amp;do=diff</link>
        <description>Utilisation d&#039;une &quot;classe&quot; pour des données de solvants chimiques

On peut utiliser la structure de classe pour créer une “table” de données sur des solvants. Il est alors possible d&#039;effectuer des traitements de tris, sélection, impression...</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:tkinter_gui_simple?rev=1674139591&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-19T15:46:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:tkinter_gui_simple</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:tkinter_gui_simple?rev=1674139591&amp;do=diff</link>
        <description>Les bases d&#039;un interface graphique avec Tkinter

Quelques références de base pour utiliser Tkinter

	*  Documentation officielle :
		*  Les interfaces graphiques TK
			*  tkinter — interface Python à Tcl/Tk, reprenant quelques références recommandées
			*  Python 3 avec Tk intègre également les extensions</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:potentiel_morse?rev=1582621465&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-02-25T10:04:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:matplotlib_gallery:potentiel_morse</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:potentiel_morse?rev=1582621465&amp;do=diff</link>
        <description>Potentiel de Morse

Potentiel de Morse et approximation harmonique, avec représentation des niveaux d&#039;énergie des modèles quantiques correspondants.

Code source : 


#! /usr/bin/env python
# -*- coding: utf-8 -*-
&quot;&quot;&quot;
Représentation du potentiel de Morse pour H2
http://en.wikipedia.org/wiki/Morse_potential
http://en.wikipedia.org/wiki/Quantum_harmonic_oscillator approximation harmonique
D_e = 7.6E-19 J
a = 19.3E-15 m
r_e= 74.1E-12 m
dérivée de seconde d2V/dr2 = 2 * D_e * a**2.
&quot;&quot;&quot;
import matplot…</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: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:csv?rev=1613035140&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-11T10:19:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:csv</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:csv?rev=1613035140&amp;do=diff</link>
        <description>Lire et écrire des fichiers de données csv
pandas
Les fichiers csv sont des fichiers de données séparées par des virgules (ou point-virgules), pour “comma separated values”. Comme ceci :


1;0.1;3
2;0.3;5
3;0.5;7
4;0.6;11
5;0.9;21
6;1.5;39


Ils peuvent être facilement importés ou exportés de tableurs ou logiciels de graphiques scientifiques.</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:math_nombres?rev=1579006703&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-01-14T13:58:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:math_nombres</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:math_nombres?rev=1579006703&amp;do=diff</link>
        <description>Mathématiques et nombres

Quelques programmes et algorithmes reliés aux mathématiques et aux nombres.

	*  Théorie des nombres
	*  Nombre_remarquable
	*  ...

Calculs en précision arbitraire


	*  1/9² = 0.0123456790123456790123456790123456790123456790123457...
	*  1/99² = 0.0001020304050607080910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697990001020304050607080910111$…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:open_chemical_databases?rev=1430303508&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-04-29T12:31:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:open_chemical_databases</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:open_chemical_databases?rev=1430303508&amp;do=diff</link>
        <description>Bases de données libres en chimie

Références

Databases, databank

	*  Chemical databases +...
	*  &lt;http://www.mtdcadd.com/&gt;
	*  &lt;http://www.drugbank.ca/&gt;
	*  &lt;http://www.genome.jp/kegg/&gt;
	*  &lt;http://zinc.docking.org/&gt;
	*  &lt;http://bidd.nus.edu.sg/group/cjttd/&gt;

Données de wikipedia

	*  Chembox template
		*  &lt;http://en.wikipedia.org/wiki/Category:Commodity_chemicals&gt;
		*  &lt;http://fr.wikipedia.org/wiki/Cat%C3%A9gorie:Produit_chimique&gt;
		*  &lt;http://en.wikipedia.org/wiki/Category:Chemical_substanc…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:plotly_simple?rev=1683016725&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-05-02T10:38:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:plotly_simple</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:plotly_simple?rev=1683016725&amp;do=diff</link>
        <description>Les bases de Plotly

Plotly (&lt;https://Plot.ly&gt; est une société développant des outils analytiques et de visualisation. La librairie python Plotly permet de créer des graphes dans l&#039;environnement de Jupyter. FIXME : à compléter

Références

	*  plot.ly, le site officiel</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-6?rev=1488272499&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-02-28T10:01:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:polynomes-6</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:polynomes-6?rev=1488272499&amp;do=diff</link>
        <description>Polynômes : la méthode de Horner
432
Cela revient à effectuer les opérations successives suivantes :

	*  prendre le coefficient de x4
	*  multiplier par x
	*  ajouter le coefficient de x3
	*  multiplier par x
	*  ajouter le coefficient de x2
	*</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: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:ppoo?rev=1674919878&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-28T16:31:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:ppoo</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:ppoo?rev=1674919878&amp;do=diff</link>
        <description>Programmation Python Orientée Objet

FIXME : en construction

Concepts utilisés

	*  Un objet : c&#039;est... n&#039;importe quoi, qui peut être codé. En Python, tout est objet !
	*  Une classe est une description générique d&#039;un type d&#039;objet, incluant les données et les méthodes qui le caractérisent</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:print_format?rev=1649474538&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-04-09T05:22:18+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:print_format</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:print_format?rev=1649474538&amp;do=diff</link>
        <description>Impressions avec la méthode .print()

FIXME :

	*  à compléter par les règles essentielles et quelques exemples
	*  F-strings introduite depuis Python 3.6 

Références

	*  &lt;https://docs.python.org/3/library/string.html#formatstrings&gt;
	*  &lt;https://pyformat.info/&gt;
	*  &lt;https://www.digitalocean.com/community/tutorials/how-to-use-string-formatters-in-python-3&gt;
	*  F-strings
		*  &lt;https://realpython.com/python-f-strings/&gt;
		*  Python’s F-Strings - Complete implementation guide with code… Naina Chatu…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:recherches?rev=1458143140&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-03-16T16:45:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:recherches</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:recherches?rev=1458143140&amp;do=diff</link>
        <description>Algorithmes de recherche

Classiquement, pour des données structurées en listes, arbres, un algorithme de recherche va selon un critère donné (une valeur par exemple) retourner un ensemble d&#039;occurrences (toutes, plusieurs, une seule,...).

Recherche séquentielle</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:testjs?rev=1493907208&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-05-04T16:13:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:testjs</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:testjs?rev=1493907208&amp;do=diff</link>
        <description>Test Javascript + dokuwiki + DataCamp-light

&lt;PRELOAD&gt;
&lt;https://cdn.datacamp.com/datacamp-light-latest.min.js&gt;
&lt;/PRELOAD&gt;

&lt;html&gt;
&lt;div class=&quot;exercise&quot;&gt;
  &lt;div class=&quot;title&quot;&gt;
    &lt;h2&gt;This is a python exercise !!&lt;/h2&gt;
  &lt;/div&gt;  &lt;div data-datacamp-exercise data-lang=&quot;python&quot; data-height=&quot;auto&quot;&gt;
    &lt;code data-type=&quot;pre-exercise-code&quot;&gt;&lt;/code&gt;
    &lt;code data-type=&quot;sample-code&quot;&gt;
      import numpy as np
      x = np.arange(0, 5, 0.1);
      y = np.sin(x)
      print(x)
      print(y)
    &lt;/code&gt;
    …</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:trucs_astuces?rev=1682845776&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-30T11:09:36+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:trucs_astuces</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:trucs_astuces?rev=1682845776&amp;do=diff</link>
        <description>Trucs et astuces

	*  Fusionner deux dictionnaires
	*  0 Python Best Practices, Tips, And Tricks - Improve your Python knowledge and skills Erik van Baaren, Medium, Jan 5, 2020
	*  Apply These 4 Techniques To Write Concise Python Code - Write Python code in a Pythonic way, Yong Cui, Medium, 09/03/2021
	*  Python refactoring tips for cleaner code, Pralabh Saxena, Medium, Jul 26 2021
	*  10 Python Snippets I Use Every Day - A few Python snippets - from sorting to list comprehensions - that I use n…</description>
    </item>
    <item rdf:about="https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:potentiel_energy_surface?rev=1607358147&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-12-07T17:22:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>teaching:progappchim:matplotlib_gallery:potentiel_energy_surface</title>
        <link>https://dvillers.umons.ac.be/wiki/teaching:progappchim:matplotlib_gallery:potentiel_energy_surface?rev=1607358147&amp;do=diff</link>
        <description>Surface d&#039;énergie potentielle

Historique

Eyring et Polanyi ont publié en 1931 l&#039;article On Simple Gas Reactions dans lequel ils décrivent les trajets des atomes dans la réaction  + H --&gt; H +  (échange d&#039;atomes). Ces travaux aboutiront au développement des notions de $E_{bond}= D_e [\exp(-2\beta(r-r_e))-2\exp(-\beta(r-r_e))]$$E_{ant}= \frac{D_e}{2} [\exp(-2\beta(r-r_e))+2\exp(-\beta(r-r_e))]$$r_e$$D_e$$\beta$$E_{bond}= \frac{Q_{AB}+\alpha_{AB}}{1+S^2_{AB}} = \frac{Q_{AB}+\alpha_{AB}}{1+k}$$E_{a…</description>
    </item>
</rdf:RDF>
