How to treat this false singular point?

*To*: mathgroup at smc.vnet.net*Subject*: [mg68406] How to treat this false singular point?*From*: "simon yang" <yanshanguke at 163.com>*Date*: Thu, 3 Aug 2006 06:07:42 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

Dear everyone, I have a function: f[x_]:=(x-x1)Log[Abs[x-x1]] + (x-x2)Log[Abs[x-x2]] + ... + (x-xn)Log[Abs[x-xn]], {x1,x2,...,xn}={100,200,300,...} for instance How to get value: f[x] as there are different singular at different x? I know at x=xn, f[x]==1, But Mathematica return: "Indeterminate", What should I do? what others do in C++, Fortran ?

**Follow-Ups**:**Re: How to treat this false singular point?***From:*Takashi YOSHINO <tyoshino@toyonet.toyo.ac.jp>