Swedish adaptation: Instegscertifikat and HAREC content
- Sections and slides rewritten in Swedish; German law and institutions replaced by Swedish/CEPT/ITU equivalents (PTS, SSA, PTSFS 2025:1, SSMFS 2008:18), unverified statements marked "% TODO VERIFY" - New toc: INSTEG, HAREC, UPPGRADERING; section idents are Swedish (see ident-map.tsv) - Exam-question tags, BNetzA question pool, solutions and the German SWL course removed - Static pages, snippets, applets, READMEs and image alt-texts translated - TikZ labels translated; SVG drawings regenerated (drawing 689 still fails to build upstream: it references a missing photo) - Changed from the original: not endorsed by DARC e.V., SSA or PTS Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -86,25 +86,25 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
<section class="iq-pointer-applet" aria-label="Zeiger mit Sinus- und Cosinusprojektion">
|
||||
<section class="iq-pointer-applet" aria-label="Visare med sinus- och cosinusprojektion">
|
||||
<div class="iq-pointer-controls">
|
||||
<label>Amplitude <var>A</var></label>
|
||||
<label>Amplitud <var>A</var></label>
|
||||
<input data-iq-amplitude type="range" min="0" max="1" step="0.01" value="0.75"
|
||||
aria-label="Amplitude A">
|
||||
aria-label="Amplitud A">
|
||||
<output data-iq-amplitude-output>0,75</output>
|
||||
|
||||
<label>Phase <var>φ</var></label>
|
||||
<label>Fas <var>φ</var></label>
|
||||
<input data-iq-phase type="range" min="-180" max="180" step="1" value="0"
|
||||
aria-label="Phase Phi">
|
||||
aria-label="Fas fi">
|
||||
<output data-iq-phase-output>0°</output>
|
||||
|
||||
<button data-iq-toggle type="button" class="btn btn-outline-primary btn-sm iq-pointer-toggle"
|
||||
aria-pressed="false">Zeiger drehen lassen</button>
|
||||
aria-pressed="false">Låt visaren rotera</button>
|
||||
</div>
|
||||
|
||||
<figure>
|
||||
<figcaption data-iq-caption>Anfangszustand des Symbols bei <var>t</var> = 0</figcaption>
|
||||
<canvas data-iq-diagram aria-label="Zeiger sowie daraus entstehende Sinus- und Cosinusschwingung"></canvas>
|
||||
<figcaption data-iq-caption>Symbolens begynnelsetillstånd vid <var>t</var> = 0</figcaption>
|
||||
<canvas data-iq-diagram aria-label="Visare samt den sinus- och cosinussvängning som uppstår"></canvas>
|
||||
</figure>
|
||||
|
||||
<div class="iq-pointer-values" aria-live="polite">
|
||||
@@ -115,7 +115,7 @@
|
||||
</div>
|
||||
|
||||
<p class="iq-pointer-note" data-iq-note>
|
||||
Bei <var>t</var> = 0 ist die waagerechte Projektion der I-Anteil und die senkrechte Projektion der Q-Anteil.
|
||||
Vid <var>t</var> = 0 är den vågräta projektionen I-komponenten och den lodräta projektionen Q-komponenten.
|
||||
</p>
|
||||
|
||||
<script>
|
||||
@@ -138,7 +138,7 @@
|
||||
|
||||
function formatNumber(value) {
|
||||
const normalized = Math.abs(value) < .005 ? 0 : value;
|
||||
return normalized.toLocaleString('de-DE', {
|
||||
return normalized.toLocaleString('sv-SE', {
|
||||
minimumFractionDigits: 2,
|
||||
maximumFractionDigits: 2
|
||||
});
|
||||
@@ -208,7 +208,7 @@
|
||||
ctx.font = (compact ? '11px' : '13px') + ' system-ui, sans-serif';
|
||||
ctx.fillStyle = textColor;
|
||||
|
||||
// I/Q-Ebene und Kreisbahn
|
||||
// I/Q-plan och cirkelbana
|
||||
ctx.strokeStyle = gridColor;
|
||||
ctx.lineWidth = 1;
|
||||
ctx.beginPath();
|
||||
@@ -220,7 +220,7 @@
|
||||
ctx.fillText('I', cx + radius + 16, cy - 7);
|
||||
ctx.fillText('Q', cx + 7, cy - radius - 13);
|
||||
|
||||
// Phasenwinkel nur beim Anfangszustand
|
||||
// fasvinkel endast i begynnelsetillståndet
|
||||
if (!running && Math.abs(phase) > .02) {
|
||||
const angleRadius = radius * .27;
|
||||
ctx.strokeStyle = vectorColor;
|
||||
@@ -233,18 +233,18 @@
|
||||
ctx.fillText('φ', cx + angleRadius * 1.35 * Math.cos(phase / 2), cy - angleRadius * 1.35 * Math.sin(phase / 2));
|
||||
}
|
||||
|
||||
// Rotierender Zeiger
|
||||
// roterande visare
|
||||
if (amplitude > 0) arrow(ctx, cx, cy, tipX, tipY, vectorColor, 3);
|
||||
ctx.fillStyle = vectorColor;
|
||||
ctx.beginPath(); ctx.arc(tipX, tipY, 4.5, 0, 2 * Math.PI); ctx.fill();
|
||||
|
||||
// Sinusschwingung rechts: senkrechte Projektion
|
||||
// sinussvängning åt höger: lodrät projektion
|
||||
ctx.strokeStyle = axisColor;
|
||||
arrow(ctx, rightStart, cy, rightEnd, cy, axisColor, 1);
|
||||
line(ctx, rightStart, cy + radius + 8, rightStart, cy - radius - 8);
|
||||
ctx.fillStyle = qColor;
|
||||
ctx.font = '600 ' + (compact ? '10px' : '12px') + ' system-ui, sans-serif';
|
||||
ctx.fillText('Q: Sinus', rightStart, cy - radius - 13);
|
||||
ctx.fillText('Q: sinus', rightStart, cy - radius - 13);
|
||||
ctx.strokeStyle = qColor;
|
||||
ctx.lineWidth = 2.5;
|
||||
ctx.beginPath();
|
||||
@@ -256,13 +256,13 @@
|
||||
}
|
||||
ctx.stroke();
|
||||
|
||||
// Cosinusschwingung nach unten: waagerechte Projektion
|
||||
// cosinussvängning nedåt: vågrät projektion
|
||||
ctx.strokeStyle = axisColor;
|
||||
arrow(ctx, cx, bottomStart, cx, bottomEnd, axisColor, 1);
|
||||
line(ctx, cx - radius - 8, bottomStart, cx + radius + 8, bottomStart);
|
||||
ctx.fillStyle = iColor;
|
||||
ctx.font = '600 ' + (compact ? '10px' : '12px') + ' system-ui, sans-serif';
|
||||
ctx.fillText('I: Cosinus', cx + radius + 13, bottomStart + 4);
|
||||
ctx.fillText('I: cosinus', cx + radius + 13, bottomStart + 4);
|
||||
ctx.strokeStyle = iColor;
|
||||
ctx.lineWidth = 2.5;
|
||||
ctx.beginPath();
|
||||
@@ -274,7 +274,7 @@
|
||||
}
|
||||
ctx.stroke();
|
||||
|
||||
// Projektionen des aktuellen Augenblickswerts
|
||||
// projektioner av det aktuella ögonblicksvärdet
|
||||
ctx.setLineDash([5, 4]);
|
||||
ctx.lineWidth = 1.5;
|
||||
ctx.strokeStyle = qColor;
|
||||
@@ -308,15 +308,15 @@
|
||||
running = enabled;
|
||||
timePhase = 0;
|
||||
toggleButton.setAttribute('aria-pressed', String(enabled));
|
||||
toggleButton.textContent = enabled ? 'Anfangszustand anzeigen' : 'Zeiger drehen lassen';
|
||||
toggleButton.textContent = enabled ? 'Visa begynnelsetillstånd' : 'Låt visaren rotera';
|
||||
toggleButton.classList.toggle('btn-primary', enabled);
|
||||
toggleButton.classList.toggle('btn-outline-primary', !enabled);
|
||||
caption.innerHTML = enabled
|
||||
? 'Laufender Zeiger und seine beiden Projektionen'
|
||||
: 'Anfangszustand des Symbols bei <var>t</var> = 0';
|
||||
? 'Roterande visare och dess två projektioner'
|
||||
: 'Symbolens begynnelsetillstånd vid <var>t</var> = 0';
|
||||
note.innerHTML = enabled
|
||||
? 'Die gestrichelten Linien verbinden die Zeigerspitze mit den momentanen Werten beider Schwingungen.'
|
||||
: 'Bei <var>t</var> = 0 ist die waagerechte Projektion der I-Anteil und die senkrechte Projektion der Q-Anteil.';
|
||||
? 'De streckade linjerna förbinder visarens spets med de momentana värdena för båda svängningarna.'
|
||||
: 'Vid <var>t</var> = 0 är den vågräta projektionen I-komponenten och den lodräta projektionen Q-komponenten.';
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user