Skip to content

Commit 96bb71d

Browse files
authored
updated hint
1 parent 9eb9cc9 commit 96bb71d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/my_code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ def multiply(self, other: Complex) -> Complex:
6969
7070
Complex numbers are often multiplied in polar form via
7171
c_mul = r_1 * r_2 * e^(theta_1 + theta_2).
72-
In other words the new radius is the product of the incoming radii.
73-
The new angle is given by the sum of the incoming angles.
72+
That means that the new radius r_mul is the product of the incoming radii
73+
and the new angle theta_mul is given by the sum of the incoming angles.
7474
Radius and angle can be converted back to the karthesian form via,
7575
x = r_mul * cos(theta_mul),
7676
y = r_mul * sin(theta_mul).

0 commit comments

Comments
 (0)