Calculating with complex numbers
#2
@Kernelpanic:
Your program only solves quadratic equations with real solutions (roots).
If you try to solve a quadratic equation with complex roots, you will get an error.

example:
x^4 - 4 x +7 = 0
This equation has two complex roots:
  x_1 = 2 - sqr(3i)
  x_2 = 2 + sqr(3i)

I have attached a program, which solves the roots of a polynomial up to degree 10.
It gives in the most cases all roots of a polynomial and uses the Lin-Bairstow-Method.
Reply


Messages In This Thread
Calculating with complex numbers - by Kernelpanic - 07-05-2022, 02:05 PM
RE: Calculating with complex numbers - by BSpinoza - 07-06-2022, 07:07 AM
RE: Calculating with complex numbers - by bplus - 07-06-2022, 04:34 PM



Users browsing this thread: 2 Guest(s)