[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: |
sam kjm |
Subject: |
Re: vpasolve to find all real roots for multiple nonlinear equations and multiple variables |
Date: |
Thu, 2 Jun 2016 01:54:29 -0700 (PDT) |
Hi Colin!
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?
## Constant parameters
k0 = sym(1)/10; #uM/min
kd = sym(1)/20; #/min
k1 = sym(6)/10; #uM/min
j1 = sym(1)/10; #uM
km1 = sym(2)/10; #uM/min
jm1 = sym(1)/10; #uM
k2 = sym(4)/10; #/min
j2 = sym(1)/10;#uM
km3 = sym(141)/20;# /min
jm3 = sym(2); #uM
## Setting the variables
AKTtot = sym(2);
syms p53 AKTs positive;
AKT = AKTtot - AKTs;
##Setting rate expressions
v0 = k0;
v1 = (k1 * AKT) / (j1 + AKT);
vm1 = (km1 * AKTs) / (jm1 + AKTs);
v2 = (k2 * p53 * AKTs) / (j2 + AKTs);
vm3 = (km3 * p53 * AKTs) / (jm3 + AKTs);
## Equations to be solved
ssp53 = v0 - v2 - kd*p53 == 0;
ssAKT = v1 - vm1 - vm3 == 0;
solve(ssp53, ssAKT, p53, AKTs);
Results:
Waiting..................................
ans =
{
[1,1] =
scalar structure containing the fields:
AKTs = (sym)
<E2><95><B1>
<E2><95><B1>
<E2><95><B1>
__________________________________________________________________________________________________________________________
<E2><95><B1>
<E2><95><B1>
____________________________________________ <E2><95><B1>
<E2><95><B1> 351983 29755967
<E2><95><B1> 844328630599 <E2><88>
<9A>1607355029231483494015<E2><8B><85><E2><85><88> <E2><95><B1>
<E2><95><B1>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80> +
<E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
+ 2<E2><8B><85>3 <E2><95><B1> <E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80> +
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80> <E2><95><B1>
<E2><95><B1> 294000
____________________________________________ <E2><95><B2><E2><95><B1>
62511750000000 6945750000000 <E2><95><B1>
<E2><95><B1> <E2><95><B1> 844328630599
<E2><88><9A>1607355029231483494015<E2><8B><85><E2><85><88>
<E2><95><B1>
<E2><95><B1> 248062500<E2><8B><85>3 <E2><95><B1>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
+ <E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
<E2><95><B1>
551 <E2><95><B2><E2><95><B1>
<E2><95><B2><E2><95><B1> 62511750000000 6945750000000
<E2><95><B2><E2><95><B1>
<E2><94><80><E2><94><80><E2><94><80> -
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94>
<80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80> -
<E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2>
<94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80><E2><94><80>
840 2
...... and many more of the <E80> interspersed with numbers (my solutions
i think)
--
View this message in context:
http://octave.1599824.n4.nabble.com/vpasolve-to-find-all-real-roots-for-multiple-nonlinear-equations-and-multiple-variables-tp4677276p4677380.html
Sent from the Octave - General mailing list archive at Nabble.com.