[Date Index] [Thread Index] [Author Index]
RE: non zero result after multiplying with zero.
>-----Original Message----- >From: rajgupta121 at rediffmail.com [mailto:rajgupta121 at rediffmail.com] To: mathgroup at smc.vnet.net >Sent: Friday, September 06, 2002 9:17 AM >Subject: [mg36442] [mg36420] non zero result after multiplying with zero. > > >Hi everybody, > > When I multiply an expression with 0 it is giving 0.expression which >is creating problem in the further calculation. > >eg. > >In:=func1[r_]:=Exp[-r/2] >In:coeff[[1,1]]=0.0; >; >; >In:=func1[r]coeff[[1,1]] > >Out:=0.Exp[-r/2] > >I want anything to be multiply by zero must be zero. > > How can I do that? >Your suggestion will be highly appreciated. > > Thanks in advance, > > Raj > Raj, this simply is, because 0. Exp[-r/2] is not always zero! func1[-Infinity]coeff[[1, 1]] >From In:= Infinity::"indet": "Indeterminate expression 0. Infinity encountered." Out= Indeterminate -- Hartmut Wolf