Hauptsatz der Differential- und Integralrechnung: Unterschied zwischen den Versionen

Zeile 115: Zeile 115:
             }
             }
         });
         });
         //var intval = document.getElementById('output').value = integral.Value() + ' ' + integral.label.plaintext;
         //document.getElementById('output').value = integral.Value() + ' ' + integral.label.plaintext;
         // Integral-Label anpassen
         // Integral-Label anpassen
         i1.label.setText(() => {
         i1.label.setText(() => {
             const a = i1.baseLeft.X().toFixed(2);
             const a = i1.baseLeft.X().toFixed(2);
             const b = i1.baseRight.X().toFixed(2);
             const b = i1.baseRight.X().toFixed(2);
             return '\\[\\int_{${a}}^{${b}} f(x) \\, dx=\\]';
             return '\\[\\int_{${a}}^{${b}} f(x) \\, dx=\\]' + integral.Value();
         });
         });