ratio between variables in equation
5 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
John D'Errico
2016-12-18
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!