[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vpasolve to find all real roots for multiple nonlinear equations and
From: |
Colin Macdonald |
Subject: |
Re: vpasolve to find all real roots for multiple nonlinear equations and multiple variables |
Date: |
Thu, 2 Jun 2016 09:35:55 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 |
On 02/06/16 01:54, sam kjm wrote:
> I tried the same problem using symbolic methods this time. I managed to get
> the solutions I think. But something strange happened in the command window
> so I can't decipher the solutions. How do i eliminate the chevron
> identities?
Possible its a unicode problem. Try `sympref display ascii` or `sympref
display flat`. Let me know if that helps.
What version of Symbolic? Might be fixed in 2.4.0 (which is in release
process---if you're using the Windows "bundle" its available now.)
Here's what your code gave me:
````
>> sol = solve(ssp53, ssAKT, p53, AKTs);
>> length(sol)
ans = 4
>> double(sol{1}.p53)
ans = -13.482
>> double(sol{2}.p53)
ans = 0.23102
>> double(sol{3}.p53)
ans = 7.7862e-02 + 1.6941e-21i
>> double(sol{4}.p53)
ans = 0.25735
````
*But* solve took suspiciously long: I'd check those solutions carefully
if I were you! Particularly the one with small imaginary part: did
SymPy do some numerical solve along the way? If so, can we trust we
have all answers...?
Colin