Develop an alternative formulation for calculating thepolynomial expression that avoids the need for repeated powercalculation and reduces the risk of numerical instability

(iv) In calculating the value of a polynomial func

(iv) In calculating the value of a polynomial function f(x) anx” an-1x” 1 ao in C++ it is unwieldy to repeatedly calculate x Develop an alternative formulation for calculating the polynomial expression that avoids the need for repeated power calculation and reduces the risk of numerical instability. (You may describe your formulation using C/C++ syntax if you wish.) Show transcribed image text (iv) In calculating the value of a polynomial function f(x) anx” an-1x” 1 ao in C++ it is unwieldy to repeatedly calculate x Develop an alternative formulation for calculating the polynomial expression that avoids the need for repeated power calculation and reduces the risk of numerical instability. (You may describe your formulation using C/C++ syntax if you wish.)