Difference between revisions of "Applets:Periodendauer periodischer Signale"
From LNTwww
David.Jobst (talk | contribs) |
David.Jobst (talk | contribs) |
||
Line 143: | Line 143: | ||
return n % 1 === 0; | return n % 1 === 0; | ||
} | } | ||
− | |||
− | |||
− | |||
//Definition der Funktion zum An- und Ausschalten des Koordinatengitters | //Definition der Funktion zum An- und Ausschalten des Koordinatengitters | ||
function showgrid() { | function showgrid() { | ||
if (gridbox.checked) { | if (gridbox.checked) { | ||
− | + | xaxis = plotBox.create('axis', [[0, 0], [1,0]], {}); | |
− | + | yaxis = plotBox.create('axis', [[0, 0], [0, 1]], {}); | |
} else { | } else { | ||
− | + | xaxis.removeTicks(xaxis.defaultTicks); | |
− | + | yaxis.removeTicks(yaxis.defaultTicks); | |
} | } | ||
plotBox.fullUpdate(); | plotBox.fullUpdate(); |
Revision as of 07:01, 15 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)$$