How to rearrange variables in an equation

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)

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

Asked:

on 8 Nov 2013

Answered:

on 8 Nov 2013

Community Treasure Hunt

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

Start Hunting!