Polynomials with complex coefficients

Polynomials with complex coefficients - Mensajes

#1 Publicado: 18/11/2023 8:47:14
Oichi

Oichi

4 me gusta en 35 mensajes.

Grupo: User

Hello, I want to solve a quartic polynomial with complex coefficients.. I tried "polyroots" function but it gives an error "cannot calculate",, Is there a plugin or a function that can solve a polynomial with complex coefficients in SMath? Thanks in advance
#2 Publicado: 18/11/2023 19:02:58
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Hi,
Here an example solved by using Maxima plugin:

MaximaPlugin_001.png

best,
Oscar
#3 Publicado: 18/11/2023 19:06:17
Oichi

Oichi

4 me gusta en 35 mensajes.

Grupo: User

Wrote

Hi,
Here an example solved by using Maxima plugin:

MaximaPlugin_001.png

best,
Oscar



How to put these answers of Maxima plugin inside a vector?
#4 Publicado: 18/11/2023 20:03:43
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

Wrote

Hello, I want to solve a quartic polynomial with complex coefficients.. I tried "polyroots" function but it gives an error "cannot calculate",, Is there a plugin or a function that can solve a polynomial with complex coefficients in SMath? Thanks in advance


If you have the complex quartic complex vector,
the way to plot is via Lagrange Iterated Product.
From there, your quartic is now a function in native Smath.
You can find roots and more solving demands.
Cheers ... Jean.


#5 Publicado: 18/11/2023 20:18:30
overlord

overlord

600 me gusta en 1.381 mensajes.

Grupo: Moderator

You can use maple() too.
Maple has a fsolve() function.
Which uses floating-point arithmetic.

2023-11-18_15-15.png
A 3 usuarios les gustó este mensaje
ioan92 18/11/2023 23:28:00, Oichi 18/11/2023 21:23:00, Oscar Campo 18/11/2023 20:21:00
#6 Publicado: 18/11/2023 20:25:02
Oscar Campo

Oscar Campo

135 me gusta en 309 mensajes.

Grupo: Moderator

Wrote



How to put these answers of Maxima plugin inside a vector?



A little trikiest
MaximaPlugin_001.png
A 2 usuarios les gustó este mensaje
ioan92 18/11/2023 21:05:00, Oichi 18/11/2023 21:23:00
#7 Publicado: 18/11/2023 21:23:58
Oichi

Oichi

4 me gusta en 35 mensajes.

Grupo: User

Okayy,,,The trick using num2str is so cool..

And thanks overlord, I didnt know about this maple one
A 1 usuarios les gustó este mensaje
Oscar Campo 18/11/2023 21:30:00
#8 Publicado: 19/11/2023 2:42:44
Alvaro

Alvaro

1.139 me gusta en 1.805 mensajes.

Grupo: User

Hi. Another way.

zroots.sm (19,36 KiB) descargado 1472 vez(es).

zroots.png

Best regards
Alvaro.
A 2 usuarios les gustó este mensaje
Oscar Campo 19/11/2023 3:45:00, ioan92 19/11/2023 3:49:00
  • Nuevos mensajes
  • Sin mensajes nuevos