Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #4581
| From | Paul von Hippel <paulvonhippel@yahoo.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Incompletely simplified Square root. |
| Date | 2011-08-26 09:28 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j37ovj$4iq$1@smc.vnet.net> (permalink) |
| References | <201108251104.HAA24880@smc.vnet.net> <C57A4BC6-3DE6-426C-8C2D-03A19E2D51F2@mimuw.edu.pl> |
PolynomialForm served a useful purpose in an previous step, when the expression was a polynomial. I didn't realize it would remain attached to the expression and cause trouble in this way. ________________________________ From: Andrzej Kozlowski <akoz@mimuw.edu.pl> To: paulvonhippel at yahoo <paulvonhippel@yahoo.com> Cc: mathgroup@smc.vnet.net Sent: Thursday, August 25, 2011 1:47 PM Subject: Re: Incompletely simplified Square root. On 25 Aug 2011, at 13:04, 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]\)] > Because PolynomialForm[926/2025] is not a number so you can't extract a square root of it or even perform any arithmetical operations on it. For example, try 1 + PolynomialForm[926/2025]. The same will be true with any other "Forms", e.g. 1 + InputForm[1] InputForm[1] + 1 You have obviously misunderstood what these wrappers are. Also, why are you using PolynomialForm in this way, anyway, it's obviously not doing anything useful? Andrzej Kozlowski
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Incompletely simplified Square root. Paul von Hippel <paulvonhippel@yahoo.com> - 2011-08-26 09:28 +0000
csiph-web