필터 지우기
필터 지우기

How can i solve this equation ?

조회 수: 1 (최근 30일)
Mallouli Marwa
Mallouli Marwa 2017년 1월 18일
댓글: Star Strider 2017년 1월 18일
Hi
How can i solve the attached equation to find a ?
When Mt, It, hs and hp are known.

채택된 답변

Star Strider
Star Strider 2017년 1월 18일
If you have the Symbolic Math Toolbox, use the solve function:
syms a hs hp Mt
It = Mt * (a^2/6 + ((a + hs)/2 + hp)^2);
a_sol = solve(It, a)
a_sol_simp = simplify(a_sol, 'Steps',10)
a_sol =
- (6*hp)/5 - (3*hs)/5 - (6^(1/2)*hp*2i)/5 - (6^(1/2)*hs*1i)/5
- (6*hp)/5 - (3*hs)/5 + (6^(1/2)*hp*2i)/5 + (6^(1/2)*hs*1i)/5
a_sol_simp =
-((3 + 6^(1/2)*1i)*(2*hp + hs))/5
((2*hp + hs)*(6^(1/2) + 3i)*1i)/5
  댓글 수: 2
Mallouli Marwa
Mallouli Marwa 2017년 1월 18일
Thanks a lot
Star Strider
Star Strider 2017년 1월 18일
My pleasure.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by