balance a linear equation
Afficher commentaires plus anciens
Hello, Anyone knows a method for balancing a linear equation?
Thanks, Luis
Réponses (2)
Walter Roberson
le 4 Juin 2011
0 votes
What form is the linear equation in?
If you have the symbolic toolbox you could do it via solve()
2 commentaires
Walter Roberson
le 4 Juin 2011
Under the interpretation of
(sqrt(2)*x-b/lambda)^2*(2*x-1) = (G*sqrt(3/(2*Pi))/((2*Pi)*sqrt(x))-a/lambda)^2;
then that is not a linear equation: it is an octic (order 8) equation, and the values of x are the squares of the 8 roots of
roots( [-32*Pi^3*lambda^2, 0, 16*Pi^3*lambda^2+32*Pi^3*sqrt(2)*lambda*b, 0, -16*Pi^3*b^2-16*Pi^3*sqrt(2)*lambda*b, 0, 8*Pi^3*(a^2+b^2), -4*sqrt(3)*sqrt(2)*Pi^(3/2)*G*a*lambda, 3*G^2*lambda^2] )
Walter Roberson
le 4 Juin 2011
Under the interpretation of
(sqrt(2)*x-b/lambda)^2*(2*x-1) = ((1/2)*G*Pi*sqrt((3/2)*Pi)/sqrt(x)-a/lambda)^2;
then that is not a linear equation: it is an octic (order 8) equation, and the values of x are the squares of the 8 roots of
roots( [32*lambda^2, 0, -8*sqrt(2)*(sqrt(2)*lambda+4*b)*lambda, 0, (16*(b+sqrt(2)*lambda))*b, 0, -8*(a^2+b^2), 4*sqrt(3)*sqrt(2)*Pi^(3/2)*G*a*lambda, -3*Pi^3*G^2*lambda^2] )
Luis Manuel
le 4 Juin 2011
0 votes
1 commentaire
Walter Roberson
le 4 Juin 2011
is that G/2 * pi, or G/(2*pi) ? And is it 3/2 * pi or 3/(2*pi) ?
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!