Skip to content

Recherche de fonction

3 messages · Raphaëlle Carraud, Berend Hasselman

#
On 10-07-2013, at 16:21, Rapha?lle Carraud <raphaelle.carraud at oc-metalchem.com> wrote:

            
If all initial values are known then plugging the values in the system will give 0 or not 0. There is nothing to "solve".
You will have to redo your query in English. Questions in French won't receive many replies.
My French is rudimentary but I'll try.

You have 8 equations and 17 variables.
So how do you propose to "solve" the system?

Assuming that the d? variables are differentials and that you want to solve for those:
you have 7 of these and 8 equations. So how to solve?

But the third and fourth equations have no d? variables, so the may even be inconsistent given the values of K2, K3, C, B, A, D.
So you have 6 equations for 7 d? variables. So how do you propose to solve for the d? variables?

Finally your system seems to be linear in the d? variables. You would be able to use R's solve()  if you can get your system to be a square system.

If your system is not square and underdetermined then you can use a Moore Penrose inverse to get a minimum norm solution 
(http://en.wikipedia.org/wiki/Moore?Penrose_pseudoinverse#Minimum-norm_solution_to_a_linear_system).
package MASS provides a function ginv().

Berend
#
On 10-07-2013, at 20:42, Berend Hasselman <bhh at xs4all.nl> wrote:

            
And to make matters simple: since your lefthand sides are 0 the minimum norm solution of your system is 0.

Berend