Table of Contents

Hints & Tips

DM32 Polynomial Solver

From the Owner's Manual

State File

Provided by Swiss Micros https://technical.swissmicros.com/dm32/examples/STATE/POLYROOT.d32

Local copy polyroot.d32

Use

This set of programs will provide real and complex roots of polynomials up to 5th order. The coefficient of the highest term is assumed to be 1 and all the coefficients must be normalized to make this so.

Quadratic

x2 - 3x + 2 = 0

The two roots of x2 - 3x + 2 = 0 are 1 and 2

4-th order

4x4 - 8x3 - 13x2 - 10x + 22 = 0

This has a non-unity value for the highest term, so all the coefficients need to be divided by 4 to make it so, this can be done as they are entered

The 4 roots are

Cube roots of -8

X3 = -8

X3 + 8 = 0

The three cube roots of -8 are

Further Information

Page created : 17/04/26 09:41 BST

Page updated : 01/01/70 01:00 BST