microsoft/qdk

Public

mirrored fromhttps://github.com/microsoft/qdkAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v1.3.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

katas/content/complex_arithmetic/polar_to_cartesian/solution.md

5lines · modecode

1Euler's formula allows us to express the complex polar number as
2
3$$ re^{i \theta} = \underset{real}{\underbrace{r \cos \theta}} + i \underset{imaginary}{\underbrace{r \sin \theta}}$$
4
5@[solution]({"id": "complex_arithmetic__polar_to_cartesian_solution", "codePath": "Solution.qs"})
6