question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add periodic roots for complex exponent solver

See original GitHub issue

Solving following equation returning only one solution:

var expr = MathS.FromString("e^(i*x) - 0.5");
var sol = MathS.SolveEquation(expr, "x");

But actually this equation has inifinite number of periodic roots (example from WolframAlpha): https://www.wolframalpha.com/input/?i=e^ix+%3D+0.5

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
MomoDevecommented, May 2, 2020

Is this the answer we are looking for? image

Yes, we just need to implement it and handle all corner cases =)

0reactions
WhiteBlackGoosecommented, May 5, 2020

Fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

6.5: De Moivre's and the nth Root Theorem
Since De Moivre's Theorem applies to complex numbers written in polar form, ... We add 2kπn to θn in order to obtain the...
Read more >
Differential Equations - Complex Roots
In this section we discuss the solution to homogeneous, linear, second order differential equations, ay'' + by' + c = 0, in which...
Read more >
Complex Numbers and the Complex Exponential
A complex number. You can add, multiply and divide complex numbers. Here's how: To add (subtract) z = a + bi and ...
Read more >
How can I intuitively understand complex exponents?
If you want to calculate the exponential of a complex number, you can do either of the following: (1) use DeMoivre's identity, which...
Read more >
Complex Exponential Function 1 - YouTube
Here we take a look at the complex exponential function and describe it as rotation along the unit circle in the complex plane....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found