Polynomials with complex coefficients

Polynomials with complex coefficients - Poruke

#1 Objavljeno: 18. 11. 2023. 08:47:14
Oichi

Oichi

4 svidjanja u 35 postova.

Grupa: 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 Objavljeno: 18. 11. 2023. 19:02:58
Oscar Campo

Oscar Campo

135 svidjanja u 309 postova.

Grupa: Moderator

Hi,
Here an example solved by using Maxima plugin:

MaximaPlugin_001.png

best,
Oscar
#3 Objavljeno: 18. 11. 2023. 19:06:17
Oichi

Oichi

4 svidjanja u 35 postova.

Grupa: 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 Objavljeno: 18. 11. 2023. 20:03:43
Jean Giraud

Jean Giraud

983 svidjanja u 6.866 postova.

Grupa: 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 Objavljeno: 18. 11. 2023. 20:18:30
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

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

2023-11-18_15-15.png
3 korisnika je svidelo ovu objavu
ioan92 18. 11. 2023. 23:28:00, Oichi 18. 11. 2023. 21:23:00, Oscar Campo 18. 11. 2023. 20:21:00
#6 Objavljeno: 18. 11. 2023. 20:25:02
Oscar Campo

Oscar Campo

135 svidjanja u 309 postova.

Grupa: Moderator

Wrote



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



A little trikiest
MaximaPlugin_001.png
2 korisnika je svidelo ovu objavu
ioan92 18. 11. 2023. 21:05:00, Oichi 18. 11. 2023. 21:23:00
#7 Objavljeno: 18. 11. 2023. 21:23:58
Oichi

Oichi

4 svidjanja u 35 postova.

Grupa: User

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

And thanks overlord, I didnt know about this maple one
1 korisnika je svidelo ovu objavu
Oscar Campo 18. 11. 2023. 21:30:00
#8 Objavljeno: 19. 11. 2023. 02:42:44
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi. Another way.

zroots.sm (19,36 KiB) preuzeto 1507 put(ova).

zroots.png

Best regards
Alvaro.
2 korisnika je svidelo ovu objavu
Oscar Campo 19. 11. 2023. 03:45:00, ioan92 19. 11. 2023. 03:49:00
  • Novi postovi
  • Nema novih postova