Polynomial: Scale x...

A command to transform the selected Polynomial object to a new domain.

Xmin and Xmax
define the new domain.

Behaviour

The polynomial is transformed from domain [xmin, xmax] to domain [Xmin, Xmax] in such a way that its form stays the same. This is accomplished by first calculating:

f(x′) = Σk=1..numberOfCoefficients ck xk, where
x′ = a x + b,

and then collecting terms of equal degree. The a and b are defined as

a = (xminxmax) / (XminXmax)
b = xmina Xmin

© djmw 19990610