| 1 | initial version |
The problem is the meaning of c1, c2, ... is intermixed between parameters and function arguments. Take a look - you define:
Hmoy(alpha,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16,c17,c18,Z) = (I1 + I2 + I3 + I4 + I5) /norme
but te right-hand side does not take into account the given values of alpha,c1,....
So, either psi, I1, ..., I5, norme need to be defined as functions taking arguments alpha,c1,... explicitly, OR keep them as symbolic expressions and define Hmoy as such:
Hmoy = (I1 + I2 + I3 + I4 + I5) /norme
and evaluate it via substitution of parameters:
Hmoy.subs({alpha:2.091464938388313, c1:9.267331957693454, ...})
| 2 | No.2 Revision |
The problem issue here is that the meaning of c1, c2, ... is intermixed between parameters and function arguments. Take a look - you define:
Hmoy(alpha,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16,c17,c18,Z) = (I1 + I2 + I3 + I4 + I5) /norme
but te right-hand side does not take into account the given values of alpha,c1,....
So, either psi, I1, ..., I5, norme need to be defined as functions taking arguments alpha,c1,... explicitly, OR keep them as symbolic expressions and define Hmoy as such:
Hmoy = (I1 + I2 + I3 + I4 + I5) /norme
and evaluate it via substitution of parameters:
Hmoy.subs({alpha:2.091464938388313, c1:9.267331957693454, ...})
| 3 | No.3 Revision |
The issue here is that the meaning of c1, c2, ... is intermixed between parameters and function arguments. Take a look - you define:
Hmoy(alpha,c1,c2,c3,c4,c5,c6,c7,c8,c9,c10,c11,c12,c13,c14,c15,c16,c17,c18,Z) = (I1 + I2 + I3 + I4 + I5) /norme
but te the right-hand side here does not take into account the given values of alpha,c1,....
So, either psi, I1, ..., I5, norme need to be defined as functions taking arguments alpha,c1,... explicitly, OR keep them as symbolic expressions and define Hmoy as such:
Hmoy = (I1 + I2 + I3 + I4 + I5) /norme
and evaluate it via substitution of parameters:
Hmoy.subs({alpha:2.091464938388313, c1:9.267331957693454, ...})
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.