how to rewrite an equation in terms of another equation?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Omidreza Ghafarinejad
el 26 de Abr. de 2015
Comentada: Star Strider
el 26 de Abr. de 2015
Hi. I have an equation for example like this:
sigma = 4*q*y^3/(b*h^3)
and I introduce that:
I = b*h^3/12
now I want to know how can I rewrite "sigma" in terms of "I"?
3 comentarios
pfb
el 26 de Abr. de 2015
Ok, now that you have explained it, I understand. Perhaps I'm a bit slow.
Anyway, duplicating the question in the "tags" field is not very helpful.
Referring to symbolic calculations would have been more helpful.
Respuesta aceptada
Star Strider
el 26 de Abr. de 2015
This works:
syms q y b h I
sigma = 4*q*y^3/(b*h^3);
Eq1 = I == b*h^3/12;
b = solve(Eq1,b);
sigma = subs(sigma)
produces:
sigma =
(q*y^3)/(3*I)
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Line Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!