How ca I solve this problem in Matlab 2018b?
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm trying to solve this question:
and arrive in
How can I do it? I tried this commands but didn't work. There is a way to solve this in matlab?
syms x y
solve(tan(atan(y/(x+1))-2*atan(y/x)==0))
solve(atan(y/(x+1))-2*atan(y/x)==0))
댓글 수: 0
채택된 답변
Walter Roberson
2020년 11월 3일
편집: Walter Roberson
2020년 11월 3일
syms x y X
sol = solve(atan(y/(x+1))-2*atan(y/x)==pi, 'returnconditions', true)
eqn = (X == sol.x(2)).^2
lhs(eqn)-rhs(eqn)
However this is missing the multiplication by y that you are expecting.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!