Difference between revisions of "Applets:Periodendauer periodischer Signale"
From LNTwww
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()"> |
− | |||
<!-- 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=" | + | <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> | ||
− | + | <script type="text/javascript"> | |
− | <script type="text/javascript" | ||
− | |||
function drawNow() { | function drawNow() { | ||
//Grundeinstellungen der beiden Applets | //Grundeinstellungen der beiden Applets | ||
Line 160: | Line 159: | ||
}; | }; | ||
</script> | </script> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</body> | </body> | ||
</html> | </html> |
Revision as of 22: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)$$