79158117

Date: 2024-11-05 08:05:26
Score: 0.5
Natty:
Report link
c2 = sp.exp(sp.I * sp.log(5))
2_standard = sp.cos(sp.log(5)) + sp.I * sp.sin(sp.log(5))

You have to tell sympy explicitly what to evaluate. expand(complex=true) doesn't automatically recognize non exponential forms as complex exponentials

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MadAtTheKeyboard