ratio between variables in equation

4 visualizzazioni (ultimi 30 giorni)
robin johansson
robin johansson il 18 Dic 2016
Commentato: robin johansson il 19 Dic 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?

Risposte (1)

John D'Errico
John D'Errico il 18 Dic 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 Commento
robin johansson
robin johansson il 19 Dic 2016
Yes how silly of me, i suspected it was mathematically impossible but wanted to make sure.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by