Timeline for NSolve gives additional solutions that don't satisfy the equations!
Current License: CC BY-SA 3.0
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 23, 2015 at 6:35 | answer | added | jjstankowicz | timeline score: 1 | |
Nov 1, 2012 at 0:16 | history | edited | Brett Champion | CC BY-SA 3.0 |
de-sig, formatting, better title
|
Oct 31, 2012 at 23:36 | comment | added | Daniel Lichtblau | Folks, please stop downvoting this. it has actual merit and at this point is more or less clear. | |
Oct 31, 2012 at 22:53 | history | edited | Dr. belisarius | CC BY-SA 3.0 |
deleted 4 characters in body
|
Oct 31, 2012 at 22:52 | comment | added | dbm | @Danel Lichtblau, b.gatessucks, please see the update of my original entry. | |
Oct 31, 2012 at 22:51 | answer | added | Daniel Lichtblau | timeline score: 23 | |
Oct 31, 2012 at 22:38 | history | edited | dbm | CC BY-SA 3.0 |
added 1452 characters in body
|
Oct 31, 2012 at 22:04 | answer | added | Dr. belisarius | timeline score: 2 | |
Oct 31, 2012 at 21:48 | history | edited | dbm | CC BY-SA 3.0 |
edited title
|
Oct 31, 2012 at 21:38 | comment | added | Daniel Lichtblau | Of course it would help to know what 'var' is (I assume lrealsols is 8). It might be that you are mismatching your variables before you do the actual substitution. | |
Oct 31, 2012 at 21:36 | comment | added | Daniel Lichtblau | Not sure what you did. The max residual I see is around 10^(-9). In[90]:= Length[sol] Out[90]= 8 In[92]:= Max[Abs[e /. sol]] Out[92]= 9.207064104217862*^-10 | |
Oct 31, 2012 at 21:27 | comment | added | b.gates.you.know.what |
@dbm You can verify that if you substitute the solution sol back into the equation e you get all zeros (no -1); does this solve your problem ?
|
|
Oct 31, 2012 at 21:16 | comment | added | Ajasja | Please improve the title of the question. (Now it's much to general...) | |
Oct 31, 2012 at 21:12 | comment | added | dbm | b.gatessucks and chris, thanks for your comments. My problem is different actually. The problem is that some of the equations at the first 6 solutions is -1, and not zero (or some small number). So Chop etc. is not going to help.d | |
Oct 31, 2012 at 21:05 | comment | added | chris | or if you want to be super sure, 'ee=e// Rationalize[#, 0.00000001] &; sol = Solve[Thread[ee == 0], Variables[ee]]; ee /. sol // N[#, 20] & // Chop' | |
Oct 31, 2012 at 20:59 | comment | added | chris |
Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2)Read the FAQs ! 3) When you see good Q&A, vote them up by clicking the gray triangles , because the credibility of the system is based on the reputation gained by users sharing their knowledge. ALSO, remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign `
|
|
Oct 31, 2012 at 20:58 | comment | added | b.gates.you.know.what |
Try e /. sol // Chop .
|
|
Oct 31, 2012 at 20:56 | history | edited | b.gates.you.know.what | CC BY-SA 3.0 |
added 101 characters in body
|
Oct 31, 2012 at 20:51 | history | asked | dbm | CC BY-SA 3.0 |