VBA/UDF to find real roots of a 6th degree polynonial equation.

Curious_george

New Member
Joined
Nov 19, 2016
Messages
1
Can anyone please help me or point me in a direction? I am trying to find the real roots of the equation below using VBA/UDF in excel. Thanks in advance. Equation: y= x6 - 7x5 + 4x4 - 14x3 + 12x2 - 5x + 23 = 0
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
In general, you have to use numerical methods to find roots of a 6th order polynomial -- unless you can somehow factor the polynomial into cubic / quadratic equations. Good ideas include
roots - Solving a 6th degree polynomial equation - Mathematics Stack Exchange
Roots of polynomial of degree 6 - Mathematics Stack Exchange
and
How to solve an nth degree polynomial equation - Mathematics Stack Exchange


Can anyone please help me or point me in a direction? I am trying to find the real roots of the equation below using VBA/UDF in excel. Thanks in advance. Equation: y= x6 - 7x5 + 4x4 - 14x3 + 12x2 - 5x + 23 = 0
 
Upvote 0

Forum statistics

Threads
1,216,880
Messages
6,133,210
Members
449,788
Latest member
sutthipv

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top