MathGroup Archive 2004

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

Search the Archive

Failure to Evaluate?


f:=Function[#1^2/#1+1]

g:=Function[#1^4+7]

h:=D[f]/D[g]

h[1]

Gives

((#1^2/#1)+1 &)/(#1^4+7 &)[1]

Why doesn't it evaluate by setting #1 to 1 to get 1/4?

h/.#1->1//N sets #1 to 1 and gives

(1 1 + 1 &)/(1 + 7 &)

but still doesn't evaluate to 1/4.

What gives? What's the Right Stuff?

Thanks for any insight.

Cheers, Scott


  • Prev by Date: Matrix + Simplify
  • Next by Date: Re: NthPermutation: how to change output format?
  • Previous by thread: Re: Matrix + Simplify
  • Next by thread: Re: Failure to Evaluate?