Question: 2 % Let c be an arbitrary 1x6 matrix and let x be an arbitrary number % a) For each of the programs below, give
2 % Let c be an arbitrary 1x6 matrix and let x be an arbitrary number % a) For each of the programs below, give the number of multiplcations % b) What important property do these programs have in common? % first program s - c(1) + c(2) *x + c (3) *x*x + c (4) *x*x*x + c (5) *x*x*x*x + c (6) *x*x*x*x*x % second program for n=2 : 6 t s t*x; s + c(n)*t; = end % third program for n-5:-1:1 s s*x + c(n); end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
