Why the answer is like that?
조회 수: 12 (최근 30일)
이전 댓글 표시
syms x
s = vpa(solve((0.5)==(log(5)*log10(8)*sinh(x))/(atan(0.5)*(3^(1/5))*abs(cos(2*pi/3))*exp(cos(2*pi/3))),x))
the correct result of this equation is 0,06 but when i run this command matlab gives me this
s =
0.060219526083180976165227748603359
- 0.060219526083180976165227748603359 + 3.1415926535897932384626433832795i
So, why i found this result and how can i found just " 0,06 " ?
Thank you
댓글 수: 0
채택된 답변
Walter Roberson
2018년 3월 2일
0.06 is not a solution to that equation. If you substitute 0.06 for x you get
0.5 == 0.49817509413836472619769716883263
which is false.
The exact solution is asinh((3^(1/5)*atan(1/2)*exp(-1/2)*log(10))/(4*log(5)*log(8)))
댓글 수: 1
추가 답변 (2개)
Jan
2018년 3월 2일
No, 0.06 is not a solution. Simply try it:
x = 0.06
(log(5)*log10(8)*sinh(x)) / (atan(0.5)*(3^(1/5))*abs(cos(2*pi/3))*exp(cos(2*pi/3)))
This is 0.498175094138365, and not 0.5 .
But the shown results match the equation. So please explain, why you assume that 0.06 is a solution. This assumption is the problem to be solved.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MuPAD에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!