MathGroup Archive 1996

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

Search the Archive

Re: Numerical Evaluation of Sqrt[]

  • To: mathgroup at
  • Subject: [mg4076] Re: Numerical Evaluation of Sqrt[]
  • From: fateman at (Richard J. Fateman)
  • Date: Fri, 31 May 1996 01:34:36 -0400
  • Organization: University of California, Berkeley
  • Sender: owner-wri-mathgroup at

In article <4obg6v$na9 at>,
Dennis S. Lindell <lindell at ARL.MIL> wrote:

>In[]:=	a=2;
>	b=2;
>	c=2;
>	d=2;
>	e=2;
>	f=2;
>	g=Sqrt[(a+b)^2 + (c+d)^2 + (e+f)^2]
>Out[]=	Sqrt[32. + 16. ]

You've clearly left out some things that are quite important. Your
numbers should not appear as 32. or 16.  And if anyone types your
input into Mathematica, the results are 4 Sqrt[3].

You must have some hidden characters in there, or you did something
very strange with Precision and Accuracy.  Mathematica has problems
with numbers if you are used to conventional interpretations as
in Fortran or C.

Richard J. Fateman
fateman at


  • Prev by Date: Re: SurfaceGraphics vs. Graphics3D
  • Next by Date: Re: Error Tracing - NDSolve
  • Previous by thread: Re: Numerical Evaluation of Sqrt[]
  • Next by thread: Error Tracing - NDSolve