{"id":703,"date":"2022-01-05T19:27:36","date_gmt":"2022-01-05T18:27:36","guid":{"rendered":"http:\/\/yb-isn.fr\/2021\/spc\/?p=703"},"modified":"2022-01-07T09:55:19","modified_gmt":"2022-01-07T08:55:19","slug":"tpn12","status":"publish","type":"post","link":"https:\/\/yb-isn.fr\/2021\/spc\/?p=703","title":{"rendered":"TPn\u00b012 piles et d\u00e9termination d&rsquo;une constante d&rsquo;acidit\u00e9"},"content":{"rendered":"<a href=\"https:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/tpn\u00b012.pdf\" class=\"pdfemb-viewer\" style=\"\" data-width=\"max\" data-height=\"max\"  data-toolbar=\"bottom\" data-toolbar-fixed=\"off\">tpn\u00b012<br\/><\/a>\n<p class=\"wp-block-pdfemb-pdf-embedder-viewer\"><\/p>\n\n\n\n<p>Constante d&rsquo;acidit\u00e9 de l&rsquo;acide \u00e9thano\u00efque<\/p>\n\n\n\n<p>exploitation python des r\u00e9sultats d&rsquo;un groupe<\/p>\n\n\n\n<p>premi\u00e8re m\u00e9thode<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import math\nimport numpy as np\nimport matplotlib.pyplot as plt\nfrom scipy import stats\n\nimport math\nVA=[5,10,20,25,30,40,45]\n\nVB=[]\nfor i in range(len(VA)):\n    VB.append(50-VA[i])\n    \npH=[5.7,5.2,4.9,4.8,4.3,3.83,3.75]\n\nx=[]\nfor i in range(len(VA)):\n    x.append(math.log10((VB[i])\/VA[i]))\n\npH=np.array(pH)\nx=np.array(x)\n\nslope, intercept, r_value, p_value, std_error = stats.linregress(x,pH)\npHmodel=slope*x+intercept\nplt . scatter(x ,pH,s=100,color ='yellow')\nplt . plot (x ,pHmodel,marker=\".\",color ='blue',markersize=1)\nplt . ylabel (\"pH\")\nplt . xlabel (\"log(VB\/VA)\")\nplt.axis([-1, 1, 0, 14])\nplt . grid ()\nplt .show()\nprint(\"a=\",slope)\nprint(\"b=\",intercept)\nprint(\"cofficient de correlmation=\",r_value)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"407\" height=\"325\" src=\"http:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/image-2.png\" alt=\"\" class=\"wp-image-721\" srcset=\"https:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/image-2.png 407w, https:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/image-2-300x240.png 300w\" sizes=\"(max-width: 407px) 100vw, 407px\" \/><\/figure>\n\n\n\n<p>deuxi\u00e8me m\u00e9thode<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">import numpy as np\nimport matplotlib.pyplot as plt\nfrom scipy import stats\n\nVA=np.array([5,10,20,25,30,40,45])\nVB=50-VA\npH=np.array([5.7,5.2,4.9,4.8,4.3,3.83,3.75])\nx=np.log10(VB\/VA)\n\nslope, intercept, r_value, p_value, std_error = stats.linregress(x,pH)\npHmodel=slope*x+intercept\n\nplt . scatter(x ,pH,s=100,color ='yellow')\nplt . plot (x ,pHmodel,marker=\".\",color ='blue',markersize=1)\nplt . ylabel (\"pH\")\nplt . xlabel (\"log(VB\/VA)\")\nplt.axis([-1, 1, 0, 14])\nplt . grid ()\nplt .show()\nprint(\"a=\",slope)\nprint(\"b=\",intercept)\nprint(\"cofficient de correlmation=\",r_value)<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"426\" height=\"329\" src=\"http:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/image-3.png\" alt=\"\" class=\"wp-image-723\" srcset=\"https:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/image-3.png 426w, https:\/\/yb-isn.fr\/2021\/spc\/wp-content\/uploads\/2022\/01\/image-3-300x232.png 300w\" sizes=\"(max-width: 426px) 100vw, 426px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Constante d&rsquo;acidit\u00e9 de l&rsquo;acide \u00e9thano\u00efque exploitation python des r\u00e9sultats d&rsquo;un groupe premi\u00e8re m\u00e9thode deuxi\u00e8me m\u00e9thode<\/p>\n","protected":false},"author":1,"featured_media":707,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-703","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-non-classe"],"_links":{"self":[{"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/posts\/703"}],"collection":[{"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=703"}],"version-history":[{"count":11,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/posts\/703\/revisions"}],"predecessor-version":[{"id":725,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/posts\/703\/revisions\/725"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=\/wp\/v2\/media\/707"}],"wp:attachment":[{"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=703"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=703"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yb-isn.fr\/2021\/spc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=703"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}