Hauptsatz der Differential- und Integralrechnung: Unterschied zwischen den Versionen

Markierung: Zurückgesetzt
Markierung: Zurückgesetzt
Zeile 42: Zeile 42:
<body>
<body>
     <div id="box2" style="width:15%; aspect-ratio:3/2; margin-top:20px;"></div>
     <div id="box2" style="width:15%; aspect-ratio:3/2; margin-top:20px;"></div>
     <script type="text/javascript">
     <script type="text/javascript">              
        JXG.Options.text.useMathJax = true;     
         // JSXGraph-Board erstellen
         // JSXGraph-Board erstellen
         var board = JXG.JSXGraph.initBoard('box2', {
         var board = JXG.JSXGraph.initBoard('box2', {
Zeile 87: Zeile 86:
             return (Math.pow(t, 5) / 24 - Math.pow(t, 3) / 2 + t);
             return (Math.pow(t, 5) / 24 - Math.pow(t, 3) / 2 + t);
         }]);
         }]);
 
        JXG.Options.text.useMathJax = true;
         // Integral erstellen
         // Integral erstellen
         var i1 = board.create('integral', [
         var i1 = board.create('integral', [
Zeile 123: Zeile 122:
             return `\\[\\int_{${a}}^{${b}} f(x) \\, dx = ${value}\\]`;
             return `\\[\\int_{${a}}^{${b}} f(x) \\, dx = ${value}\\]`;
         });
         });
         board.create('text',[-3,3,
          
  function() {
    return '\\[f(x) = e^{' + i1.baseLeft.X().toFixed(2) + 'x}\\]';
  }]);
         // Beschriftung der Funktion mit f
         // Beschriftung der Funktion mit f
         board.create('text', [3.5, 3, 'f'], {
         board.create('text', [3.5, 3, 'f'], {