{"id":58,"date":"2026-11-14T15:09:50","date_gmt":"2026-11-14T14:09:50","guid":{"rendered":"https:\/\/mathteek.com\/?page_id=58"},"modified":"2026-11-14T15:35:41","modified_gmt":"2026-11-14T14:35:41","slug":"calculatrice-graphes","status":"publish","type":"page","link":"https:\/\/mathteek.com\/index.php\/calculatrice-graphes\/","title":{"rendered":"Calculatrice &#038; Graphes"},"content":{"rendered":"<p><!-- MATH-TEEK CALCULATRICE SCIENTIFIQUE & FORMELLE (GRILLE TABLE VERROUILL\u00c9E) --><br \/>\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/mathjs@12.4.1\/lib\/browser\/math.min.js\"><\/script><\/p>\n<div id=\"mt-calc-app\" style=\"font-family:'Segoe UI',system-ui,sans-serif;width:100%;max-width:980px;margin:20px auto;background:#ffffff;border-radius:16px;border:1px solid #e2e8f0;box-shadow:0 12px 32px rgba(13,43,82,0.08);overflow:hidden;color:#0f172a;text-align:left;box-sizing:border-box;\">\n<p>  <!-- EN-T\u00caTE --><\/p>\n<div style=\"background:#0d2b52;color:#ffffff;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;\">\n<div style=\"font-size:1.25rem;font-weight:700;color:#ffffff;margin:0;\">\ud83e\uddee Calculatrice Scientifique &#038; Formelle \u2014 MATH-TEEK<\/div>\n<p>    <span style=\"background:rgba(255,255,255,0.16);color:#ffffff;padding:5px 14px;border-radius:20px;font-size:0.82rem;font-weight:600;\">Mode Radian \u2022 1BAC &#038; 2BAC<\/span>\n  <\/div>\n<p>  <!-- CORPS --><\/p>\n<div style=\"display:flex;flex-wrap:wrap;gap:24px;padding:24px;align-items:flex-start;\">\n<p>    <!-- COLONNE GAUCHE : \u00c9CRAN + CLAVIER TABLE --><\/p>\n<div style=\"flex:1.2;min-width:300px;width:100%;\">\n<p>      <!-- \u00c9CRAN NOIR --><\/p>\n<div style=\"background:#0f172a;color:#f8fafc;border-radius:12px;padding:16px 20px;margin-bottom:16px;border:1px solid #1e293b;\">\n        <input type=\"text\" id=\"mtc-expr\" value=\"sqrt(144) + cos(pi\/3)\" placeholder=\"Entrez une expression...\" onkeydown=\"if(event.key==='Enter') mtcEval()\" style=\"width:100%;background:transparent;border:none;color:#38bdf8;font-family:Consolas,monospace;font-size:1.2rem;outline:none;margin:0 0 8px 0;padding:0;box-shadow:none;\"><\/p>\n<div id=\"mtc-res\" style=\"text-align:right;font-family:Consolas,monospace;font-size:1.6rem;font-weight:700;color:#ffffff;min-height:34px;word-break:break-all;\">12.5<\/div>\n<\/p><\/div>\n<p>      <!-- CLAVIER 5x6 EN TABLEAU VERROUILL\u00c9 --><\/p>\n<table style=\"width:100%;border-collapse:separate;border-spacing:6px;table-layout:fixed;margin:0;border:none;background:transparent;\">\n<tbody>\n<tr>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('sin(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">sin<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('cos(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">cos<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('tan(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">tan<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('log(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">ln<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcClear()\" style=\"width:100%;height:44px;border:1px solid #fecaca;background:#fee2e2;color:#dc2626;border-radius:8px;font-weight:700;font-size:0.95rem;cursor:pointer;\">AC<\/button><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('exp(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">e\u02e3<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('sqrt(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">\u221a<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('^')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">x\u02b8<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('(')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">(<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns(')')\" style=\"width:100%;height:44px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">)<\/button><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('7')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">7<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('8')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">8<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('9')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">9<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('\/')\" style=\"width:100%;height:46px;border:1px solid #cbd5e1;background:#f1f5f9;color:#0d2b52;border-radius:8px;font-weight:700;font-size:1.05rem;cursor:pointer;\">\u00f7<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcBack()\" style=\"width:100%;height:46px;border:1px solid #fecaca;background:#fee2e2;color:#dc2626;border-radius:8px;font-weight:700;font-size:0.95rem;cursor:pointer;\">\u232b<\/button><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('4')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">4<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('5')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">5<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('6')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">6<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('*')\" style=\"width:100%;height:46px;border:1px solid #cbd5e1;background:#f1f5f9;color:#0d2b52;border-radius:8px;font-weight:700;font-size:1.05rem;cursor:pointer;\">\u00d7<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('pi')\" style=\"width:100%;height:46px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">\u03c0<\/button><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('1')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">1<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('2')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">2<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('3')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">3<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('-')\" style=\"width:100%;height:46px;border:1px solid #cbd5e1;background:#f1f5f9;color:#0d2b52;border-radius:8px;font-weight:700;font-size:1.05rem;cursor:pointer;\">\u2212<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('i')\" style=\"width:100%;height:46px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">i (\u2102)<\/button><\/td>\n<\/tr>\n<tr>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('0')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">0<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('.')\" style=\"width:100%;height:46px;border:1px solid #e2e8f0;background:#f8fafc;color:#1e293b;border-radius:8px;font-weight:600;font-size:1.05rem;cursor:pointer;\">.<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('x')\" style=\"width:100%;height:46px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;border-radius:8px;font-weight:600;font-size:0.95rem;cursor:pointer;\">x<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcIns('+')\" style=\"width:100%;height:46px;border:1px solid #cbd5e1;background:#f1f5f9;color:#0d2b52;border-radius:8px;font-weight:700;font-size:1.05rem;cursor:pointer;\">+<\/button><\/td>\n<td style=\"padding:0;border:none;\"><button type=\"button\" onclick=\"mtcEval()\" style=\"width:100%;height:46px;border:1px solid #1d4ed8;background:#1d4ed8;color:#ffffff;border-radius:8px;font-weight:700;font-size:1.15rem;cursor:pointer;\">=<\/button><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>    <!-- COLONNE DROITE : OUTILS ANALYSE & HISTORIQUE --><\/p>\n<div style=\"flex:0.85;min-width:280px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:18px;display:flex;flex-direction:column;gap:12px;\">\n<div style=\"font-size:1rem;font-weight:700;color:#0d2b52;margin:0;\">\u26a1 Outils Analyse (en fonction de x)<\/div>\n<div style=\"display:flex;gap:8px;\">\n        <button type=\"button\" onclick=\"mtcDeriv()\" style=\"flex:1;padding:10px;background:#0d2b52;color:#ffffff;border:none;border-radius:8px;font-weight:600;font-size:0.85rem;cursor:pointer;\">D\u00e9river f'(x)<\/button><br \/>\n        <button type=\"button\" onclick=\"mtcSimplify()\" style=\"flex:1;padding:10px;background:#0d2b52;color:#ffffff;border:none;border-radius:8px;font-weight:600;font-size:0.85rem;cursor:pointer;\">Simplifier<\/button>\n      <\/div>\n<div style=\"display:flex;gap:6px;align-items:center;background:#ffffff;padding:8px;border-radius:8px;border:1px solid #cbd5e1;flex-wrap:wrap;\">\n        <span style=\"font-weight:700;color:#0d2b52;\">\u222b<\/span><br \/>\n        <span style=\"font-size:0.82rem;\">de<\/span><br \/>\n        <input type=\"number\" id=\"int-a\" value=\"0\" step=\"any\" style=\"width:52px;padding:6px;border:1px solid #cbd5e1;border-radius:6px;text-align:center;font-family:monospace;\"><br \/>\n        <span style=\"font-size:0.82rem;\">\u00e0<\/span><br \/>\n        <input type=\"number\" id=\"int-b\" value=\"1\" step=\"any\" style=\"width:52px;padding:6px;border:1px solid #cbd5e1;border-radius:6px;text-align:center;font-family:monospace;\"><br \/>\n        <button type=\"button\" onclick=\"mtcIntegrate()\" style=\"flex:1;padding:8px 10px;background:#1d4ed8;color:#ffffff;border:none;border-radius:6px;font-weight:600;font-size:0.82rem;cursor:pointer;\">Calculer \u222b<\/button>\n      <\/div>\n<div style=\"font-size:0.78rem;color:#475569;line-height:1.5;\">\n        <strong>Astuces :<\/strong><br \/>\n        \u2022 Complexes : <code>(2 + 3i) \/ (1 - i)<\/code><br \/>\n        \u2022 D\u00e9terminant : <code>det([[2, -1], [4, 3]])<\/code><br \/>\n        \u2022 Combinaisons : <code>combinations(5, 2)<\/code>\n      <\/div>\n<div id=\"mtc-hist\" style=\"background:#ffffff;border:1px solid #e2e8f0;border-radius:8px;padding:10px;min-height:110px;max-height:160px;overflow-y:auto;font-family:monospace;font-size:0.82rem;color:#334155;\">\n<div style=\"color:#94a3b8;font-size:0.75rem;margin-bottom:4px;\">Historique des calculs :<\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/div>\n<p><script>\n  const exprInput = document.getElementById('mtc-expr');\n  const resDisplay = document.getElementById('mtc-res');\n  const histBox = document.getElementById('mtc-hist');<\/p>\n<p>  function mtcIns(val) {\n    const start = exprInput.selectionStart;\n    const end = exprInput.selectionEnd;\n    const text = exprInput.value;\n    exprInput.value = text.substring(0, start) + val + text.substring(end);\n    exprInput.focus();\n    exprInput.selectionStart = exprInput.selectionEnd = start + val.length;\n  }<\/p>\n<p>  function mtcClear() {\n    exprInput.value = '';\n    resDisplay.textContent = '0';\n  }<\/p>\n<p>  function mtcBack() {\n    exprInput.value = exprInput.value.slice(0, -1);\n  }<\/p>\n<p>  function mtcAddHist(q, r) {\n    const item = document.createElement('div');\n    item.style.cssText = 'padding:5px 0;border-bottom:1px dashed #e2e8f0;cursor:pointer;';\n    item.innerHTML = `<strong>${q}<\/strong> = ${r}`;\n    item.onclick = () => { exprInput.value = q; resDisplay.textContent = r; };\n    histBox.insertBefore(item, histBox.children[1]);\n  }<\/p>\n<p>  function mtcEval() {\n    const q = exprInput.value.trim();\n    if (!q) return;\n    try {\n      const val = math.evaluate(q);\n      const formatted = typeof val === 'number' ? Number(val.toPrecision(10)).toString() : val.toString();\n      resDisplay.textContent = formatted;\n      mtcAddHist(q, formatted);\n    } catch (e) {\n      resDisplay.innerHTML = '<span style=\"color:#f87171;font-size:1rem;\">Erreur de syntaxe<\/span>';\n    }\n  }<\/p>\n<p>  function mtcDeriv() {\n    const q = exprInput.value.trim();\n    try {\n      const d = math.derivative(q, 'x').toString();\n      resDisplay.textContent = \"f'(x) = \" + d;\n      mtcAddHist('d\/dx(' + q + ')', d);\n    } catch (e) {\n      resDisplay.innerHTML = '<span style=\"color:#f87171;font-size:1rem;\">Expression invalide en x<\/span>';\n    }\n  }<\/p>\n<p>  function mtcSimplify() {\n    const q = exprInput.value.trim();\n    try {\n      const s = math.simplify(q).toString();\n      resDisplay.textContent = s;\n      mtcAddHist('Simp(' + q + ')', s);\n    } catch (e) {\n      resDisplay.innerHTML = '<span style=\"color:#f87171;font-size:1rem;\">Impossible de simplifier<\/span>';\n    }\n  }<\/p>\n<p>  function mtcIntegrate() {\n    const q = exprInput.value.trim();\n    const a = parseFloat(document.getElementById('int-a').value);\n    const b = parseFloat(document.getElementById('int-b').value);\n    try {\n      const f = math.compile(q);\n      const n = 1000;\n      const h = (b - a) \/ n;\n      let sum = f.evaluate({ x: a }) + f.evaluate({ x: b });\n      for (let i = 1; i < n; i++) {\n        const x = a + i * h;\n        sum += (i % 2 === 0 ? 2 : 4) * f.evaluate({ x });\n      }\n      const integral = (h \/ 3) * sum;\n      const formatted = Number(integral.toPrecision(8)).toString();\n      resDisplay.textContent = '\u222b = ' + formatted;\n      mtcAddHist('\u222b[' + a + ',' + b + '] (' + q + ') dx', formatted);\n    } catch (e) {\n      resDisplay.innerHTML = '<span style=\"color:#f87171;font-size:1rem;\">Erreur dans f(x)<\/span>';\n    }\n  }\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud83e\uddee Calculatrice Scientifique &#038; Formelle \u2014 MATH-TEEK Mode Radian \u2022 1BAC &#038; 2BAC 12.5 sin cos tan ln AC e\u02e3 \u221a x\u02b8 ( )\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"footnotes":""},"class_list":["post-58","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/pages\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/comments?post=58"}],"version-history":[{"count":6,"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/pages\/58\/revisions"}],"predecessor-version":[{"id":69,"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/pages\/58\/revisions\/69"}],"wp:attachment":[{"href":"https:\/\/mathteek.com\/index.php\/wp-json\/wp\/v2\/media?parent=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}