Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Oichi  
#1 Posted : 18 November 2023 14:47:14(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
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

Edited by user 19 November 2023 03:24:23(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline oscampo  
#2 Posted : 19 November 2023 01:02:58(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 249
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
Hi,
Here an example solved by using Maxima plugin:

MaximaPlugin_001.png

best,
Oscar
Offline Oichi  
#3 Posted : 19 November 2023 01:06:17(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Originally Posted by: oscampo Go to Quoted Post
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?
Offline Jean Giraud  
#4 Posted : 19 November 2023 02:03:43(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,866
Canada

Was thanked: 981 time(s) in 809 post(s)
Originally Posted by: Oichi Go to Quoted Post
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.


Offline overlord  
#5 Posted : 19 November 2023 02:18:30(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,129
Turkey

Was thanked: 510 time(s) in 340 post(s)
You can use maple() too.
Maple has a fsolve() function.
Which uses floating-point arithmetic.

2023-11-18_15-15.png
thanks 3 users thanked overlord for this useful post.
on 19/11/2023(UTC),  on 19/11/2023(UTC),  on 19/11/2023(UTC)
Offline oscampo  
#6 Posted : 19 November 2023 02:25:02(UTC)
oscampo


Rank: Advanced Member

Groups: Registered
Joined: 10/12/2009(UTC)
Posts: 249
Man
Colombia
Location: Cali, Colombia

Was thanked: 87 time(s) in 66 post(s)
Originally Posted by: Oichi Go to Quoted Post


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


A little trikiest
MaximaPlugin_001.png
thanks 2 users thanked oscampo for this useful post.
on 19/11/2023(UTC),  on 19/11/2023(UTC)
Offline Oichi  
#7 Posted : 19 November 2023 03:23:58(UTC)
Oichi


Rank: Advanced Member

Groups: Registered
Joined: 27/01/2023(UTC)
Posts: 30
Woman
Viet Nam

Was thanked: 3 time(s) in 3 post(s)
Okayy,,,The trick using num2str is so cool..

And thanks overlord, I didnt know about this maple one
thanks 1 user thanked Oichi for this useful post.
on 19/11/2023(UTC)
Offline Razonar  
#8 Posted : 19 November 2023 08:42:44(UTC)
Razonar


Rank: Advanced Member

Groups: Registered
Joined: 28/08/2014(UTC)
Posts: 1,367
Uruguay

Was thanked: 827 time(s) in 524 post(s)
Hi. Another way.

zroots.sm (20kb) downloaded 8 time(s).

zroots.png

Best regards
Alvaro.

Edited by user 19 November 2023 08:44:48(UTC)  | Reason: Not specified

thanks 2 users thanked Razonar for this useful post.
on 19/11/2023(UTC),  on 19/11/2023(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.