Applets:Periodendauer periodischer Signale: Difference between revisions

From LNTwww
No edit summary
No edit summary
Line 10: Line 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://en.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 {
Line 29: Line 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>
Line 44: Line 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
Line 160: Line 159:
};
};
</script>
</script>
<script>
//Definition des Reset-Buttons
function rst() {
    document.getElementById("jxgForm").reset();
};
</script>
</body>
</body>
</html>
</html>

Revision as of 23:25, 14 September 2017

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)$$