Übung: Komplexe Zahlen in Polardarstellung
12
randRange( 0, DENOMINATOR - 1 )
randRange( 1, 9 )
cos( ANGLE * PI * 2 / DENOMINATOR ) * RADIUS
sin( ANGLE * PI * 2 / DENOMINATOR ) * RADIUS
complexNumber( roundTo( 2, REAL ), roundTo( 2, IMAG ) )
Passe Winkel und Radius der orangefarbenen komplexen Zahl an, sodass sie der blauen komplexen Zahl REP
entspricht.
Wie wirken sich diese Zahlen auf die komplexen Zahlen aus, die sie repräsentieren?
graphInit({
range: [[-10, 10], [-10, 10]],
scale: 20,
tickStep: 1,
axisArrows: "<->"
});
drawComplexChart( 10, DENOMINATOR );
circle( [REAL, IMAG], 1 / 4, {
fill: MatheguruHelper.BLUE,
stroke: "none"
});
graph.currComplexPolar = new ComplexPolarForm( DENOMINATOR, 10 );
redrawComplexPolarForm();
Radius:
1
Winkel:
0
1
[
graph.currComplexPolar.getAngleNumerator(),
graph.currComplexPolar.getRadius()
]
var angle = guess[0];
var radius = guess[1];
if (angle === 0 && radius === 1) {
return "";
}
return angle === ANGLE && radius === RADIUS;
redrawComplexPolarForm(guess[0], guess[1]);
redrawComplexPolarForm(guess[0], guess[1]);