Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6050
| From | Andrzej Kozlowski <akoz@mimuw.edu.pl> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Problem with Solve and NSolve |
| Date | 2011-10-30 09:37 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j8j5rs$fbe$1@smc.vnet.net> (permalink) |
| References | <201110280935.FAA20759@smc.vnet.net> <201110291110.HAA05311@smc.vnet.net> <E0EE4F64-F1B0-4B96-8C9D-CF17C9E57B8A@mimuw.edu.pl> |
On 29 Oct 2011, at 14:45, Andrzej Kozlowski wrote: > > On 29 Oct 2011, at 13:10, Daniel Lichtblau wrote: > >> W|A is (probably) using FindRoot in clever ways. You can get solutions >> in a similar manner. > > > Wolfram Alpha certainly uses Reduce (or Solve) to solve non-algebraic equations, e.g. try > > WolframAlpha["Solve[x Exp[x] == 2 Sin[x]&&Abs[x]<=10,x]"] in Mathematica (or directly in a browser). > > It will show real roots only but if you ask for more you also get the complex ones. If you do not give a bounding condition it will choose one by itself > > WolframAlpha["Solve[x Exp[x] == 2 Sin[x],x]"] > > and asssume that you want only real roots. I don't see any evidence that it "is using FindRoot in clever ways". > > Andrzej Kozlowski I forgot the add that unlike Mathematica, Wolfram Alpha does not return exact solutions to any equations whose roots cannot be expressed in radicals, e.g. WolframAlpha["Solve[x^6+3x^2+x +1 == 0,x]"] will give only numerical solutions (however WolframAlpha["Solve[x^6+x^2+ 3 == 0,x]"] will return one exact solution as it can be expressed in terms of radicals). Perhaps this makes it look like FindRoot is being used but undoubtedly it is Solve (or Reduce - they seem to mean the same thing to WolframAlpha). Andrzej Kozlowski
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Problem with Solve and NSolve Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-30 09:37 +0000
csiph-web