ratio between variables in equation

4 visualizaciones (últimos 30 días)
robin johansson
robin johansson el 18 de Dic. de 2016
Comentada: robin johansson el 19 de Dic. de 2016
I have the equation G == (f_1*(w^2)*L/d)+(C*(w^2))/2
Where d and w are variables and f_1, L, G and C are constants
I would like to arrange this equation in the form of w*(d^2) == constants but i only know how to solve for individual variables with syms
How would i go about this?

Respuestas (1)

John D'Errico
John D'Errico el 18 de Dic. de 2016
Well, you might want to do that, but if both w and d are unknowns, then even if you do it with pencil and paper, you won't succeed.
You would be closer if you had asked to solve for the form w^2/d than w*d^2, but even that will fail. Note that w appears only as w^2. And only one of those terms is divided by d. So, first factor out w^2.
G = w^2*(f_1*L/d + C/2)
You can trivially solve for w^2.
w^2 = G/(f_1*L/d + C/2)
In fact, you can trivially solve for w, by taking the square root as long as you are willing to choose which branch of the square root applies.
But nothing will allow you to get that expression in the form w/d^2, with no d terms on the right hand side. Wanting magic to happen is not sufficient. No symbolic computational engine will do the mathematically impossible either.
  1 comentario
robin johansson
robin johansson el 19 de Dic. de 2016
Yes how silly of me, i suspected it was mathematically impossible but wanted to make sure.

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by