How to rearrange variables in an equation
Show older comments
I have a pretty hefty equation that I can figure out how to solve by hand and I was hoping that matlab could help.
H=wT(1-((1+(m2*a1)/(m1*a2))/(1+(m2/m1)*(a2/a1)^.5))
I am trying to solve for a1. I am wondering if anyone has an suggestions for how to do this. Thanks!
Answers (1)
Azzi Abdelmalek
on 8 Nov 2013
syms wT m2 a1 a2 m1
H=wT*(1- (1+(m2*a1)/(m1*a2))/(1+(m2/m1)*(a2/a1)^.5))
sol=solve(H,a1)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!