Re: Elementary Calculation

*To*: mathgroup at smc.vnet.net*Subject*: [mg60084] Re: Elementary Calculation*From*: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>*Date*: Thu, 1 Sep 2005 06:43:17 -0400 (EDT)*Organization*: The Open University, Milton Keynes, U.K.*References*: <df668b$8m3$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Jim Dars wrote: > Hi All, > > I'm using version 4. > > I wish to calculate (24+5*sq,rt.23)^2 > I'm using the square root symbol from the palette. > > I want to obtain (1151 + 240*sq.rt. 23) > > I've tried Simplify and FullSimplify but I keep getting (24+5*sq,rt.23)^2. > > What command should I use? > > Thanks in advance. > > Best wishes, Jim > > Hi Jim, Use *Expand* http://documents.wolfram.com/mathematica/functions/Expand In[1]:= Expand[(24 + 5*Sqrt[23])^2] Out[1]= 1151 + 240*Sqrt[23] Regards, /J.M.

**Follow-Ups**:**Re: Re: Elementary Calculation***From:*Murray Eisenberg <murray@math.umass.edu>