Polynomial: Scale x...

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

Xmin and Xmax
define the new domain.


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, June 10, 1999