MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Generate polynomial of specified degree


On 9/22/05, Bob Hanlon <hanlonr at cox.net> wrote:
> f[n_Integer?NonNegative,x_Symbol:x]:=
>   ToExpression[CharacterRange["a", FromCharacterCode[97+n]]].
>     x^Range[n,0,-1]
>
> Table[f[n],{n,0,3}]
>
> {a, b + a*x, a*x^2 + b*x + c, a*x^3 + b*x^2 + c*x + d}

This, and all other suggestions, do the magic.

Thanks for all that helped.

Thanks,
Renan - Canoas, RS, Brazil


  • Prev by Date: Re: Mathemaica 5.2 are the 64 Bit an illusion !!!....?
  • Next by Date: Re: Problem in loading the Statistics package.
  • Previous by thread: Re: Generate polynomial of specified degree
  • Next by thread: Re: Generate polynomial of specified degree