Applets:Periodendauer periodischer Signale: Unterschied zwischen den Versionen

Aus LNTwww
Wechseln zu:Navigation, Suche
Zeile 10: Zeile 10:
 
   <meta charset="utf-8" />
 
   <meta charset="utf-8" />
 
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.99.6/jsxgraphcore.js"></script>
 
   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jsxgraph/0.99.6/jsxgraphcore.js"></script>
 +
  <!-- <script type="text/javascript" src="https://www.lntwww.de/MathJax/unpacked/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,local/mwMathJaxConfig"></script> -->
 +
  <!-- <script type="text/javascript" src="https://cdn.rawgit.com/mathjax/MathJax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full"></script> -->
 +
 
<style>
 
<style>
 
         .button {
 
         .button {
Zeile 29: Zeile 32:
 
   </style>
 
   </style>
 
</head>
 
</head>
<body onload="drawNow()">
 
  
  
  
<form id="jxgForm">
+
<body onload="drawNow()">
 
 
 
<!-- Resetbutton, Checkbox und Formel -->
 
<!-- Resetbutton, Checkbox und Formel -->
 
<p>
 
<p>
 
     <input type="checkbox" id="gridbox" onclick="showgrid();" checked> <label for="gridbox">Gitterlinien zeigen</label>
 
     <input type="checkbox" id="gridbox" onclick="showgrid();" checked> <label for="gridbox">Gitterlinien zeigen</label>
     <button class="button" onclick="rst()">Reset</button>
+
     <button class="button" onclick="drawNow();">Reset</button>
 
</p>
 
</p>
 
<div id="plotBoxHtml" class="jxgbox" style="width:600px; height:600px; border:1px solid black; margin:170px 20px 0px 0px;"></div>
 
<div id="plotBoxHtml" class="jxgbox" style="width:600px; height:600px; border:1px solid black; margin:170px 20px 0px 0px;"></div>
Zeile 44: Zeile 45:
 
<div id="outBoxHtml" class="jxgbox" style="width:600px; height:100px; margin:625px 20px 0px 0px;"></div>
 
<div id="outBoxHtml" class="jxgbox" style="width:600px; height:100px; margin:625px 20px 0px 0px;"></div>
  
</form>
+
<script type="text/javascript">
<script type="text/javascript" async>
 
 
 
 
function drawNow() {
 
function drawNow() {
 
//Grundeinstellungen der beiden Applets
 
//Grundeinstellungen der beiden Applets
Zeile 160: Zeile 159:
 
};
 
};
 
</script>
 
</script>
 
 
<script>
 
 
//Definition des Reset-Buttons
 
function rst() {
 
    document.getElementById("jxgForm").reset();
 
};
 
</script>
 
 
 
</body>
 
</body>
 
</html>
 
</html>

Version vom 14. September 2017, 22:25 Uhr

Funktion: $$x(t) = A_1\cdot cos\Big(2\pi f_1\cdot t- \frac{2\pi}{360}\cdot \phi_1\Big)+A_2\cdot cos\Big(2\pi f_2\cdot t- \frac{2\pi}{360}\cdot \phi_2\Big)$$