Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4579
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Incompletely simplified Square root. |
| Date | 2011-08-26 09:23 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j37omv$4dd$1@smc.vnet.net> (permalink) |
On 8/25/11 at 7:04 AM, paulvonhippel@yahoo.com (paulvonhippel at yahoo) wrote: >Can someone tell me why the following input doesn't produce an >output of 0.68....? Why is the output under the radical? Thanks! >In[574]:= Sqrt[\!\(\* TagBox[ FractionBox["926", "2025"], >PolynomialForm]\)] // N >Out[574]= Sqrt[\!\(\* TagBox["0.45728395061728394`", >PolynomialForm]\)] You are getting this result because of PolynomialForm. The Sqrt function doesn't know how to evaluate something with a head of PolynomialForm. That is when I copy paste your input into Mathematica and use FullForm on the output I get In[8]:= FullForm[%] Out[8]//FullForm= Power[PolynomialForm[0.45728395061728394`],Rational[1,2]] If I simply type the problem in In[9]:= Sqrt[926/2025] // N Out[9]= 0.676228 I get the expected result.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Incompletely simplified Square root. Bill Rowe <readnews@sbcglobal.net> - 2011-08-26 09:23 +0000
csiph-web