SELF-Treffen in Mannheim 2025

SELFHTML wird 30 Jahre alt! → Veranstaltungs-Ankündigung.

Beispiel:JS-math.PI-2.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche

<!DOCTYPE html> <html lang="de"> <head>

 <meta charset="utf-8">
 <meta name="viewport" content="width=device-width, initial-scale=1.0">
 <link rel="stylesheet" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
 <title>Leibniz-Reihe</title>

<style> math { font-size: 2em; color: steelBlue; }

  1. pi {

font-weight: bold; color: #c82f04; } </style>

 <script>
 </script>

</head> <body>

Leibniz-Reihe zur Bestimmung von PI

<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">

 <mrow>
   <munderover>
     <mo>∑</mo>
     <mrow>
       <mi>k</mi>
       <mo>=</mo>
       <mn>0</mn>
     </mrow>
     <mo>∞</mo>
   </munderover>
   <mfrac>
     <msup>
       <mo>(-1)</mo>
       <mi>k</mi>
     </msup>
     <mrow>
       <mn>2</mn>
       <mi>k</mi>
       <mo>+</mo>
       <mn>1</mn>
     </mrow>
   </mfrac>
   <mo>=</mo>
   <mn>1</mn>
   <mo>-</mo>
   <mfrac>
     <mn>1</mn>
     <mn>3</mn>
   </mfrac>
   <mo>+</mo>
   <mfrac>
     <mn>1</mn>
     <mn>5</mn>
   </mfrac>
   <mo>-</mo>
   <mfrac>
     <mn>1</mn>
     <mn>7</mn>
   </mfrac>
   <mo>+</mo>
   <mfrac>
     <mn>1</mn>
     <mn>9</mn>
   </mfrac>
   <mo>-</mo>
   <mo>⋯</mo>
   <mo>=</mo>
   <mfrac>
     <mi id="pi">π</mi>
     <mn>4</mn>
   </mfrac>
 </mrow>

</math>

</body> </html>