c10tp.py

Created by manuel-eleve-tle-techno-indice2020

Created on May 15, 2020

667 Bytes


from math import*

import matplotlib.pyplot as plt



def C(V,n):

    return ...



def pH(V,np,nm):

    if np==0 and nm==0:

        return ...

    if np!=0:

        return -log(C(V,np),10)

    if nm!=0:

        return ...



def experience():

    V=20

    np=30

    nm=0

    for q in range(50):

        V=V+1

        if np!=0:

            np=...

        else:

            ...

        # on place le point sur le graphique

        plt.scatter(q,pH(V,np,nm),color='blue')



    # legendes du graphique et affichage

    plt.xlabel("quantite versee (en mL)"); plt.ylabel("pH")

    plt.title("Observation d'un saut de pH")

    plt.show()

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.