Unable to solve using vpasolve

5 ビュー (過去 30 日間)
Jane Low
Jane Low 2021 年 4 月 26 日
回答済み: Walter Roberson 2021 年 4 月 26 日
My equation is sin(A)-sin(1.62)*exp(-(2*pi+A-1.62)/18.85.
I write it and use 'vpasolve' to find the solutions.
Unfortunately, it doesn't give me the right ans Equation at Slide 23
How can I get the solution I want.
Code:
syms A
vpasolve(sin(A)-sin(1.62)*exp(-(2*pi+A-1.62)/18.85) == 0,A,3)

採用された回答

Walter Roberson
Walter Roberson 2021 年 4 月 26 日
syms A
eqn = sin(A)-sin(1.62)*exp(-(2*pi+A-1.62)/18.85)
eqn = 
vpasolve(eqn == 0,A,1)
ans = 
0.84178630519911388705537692607065
fplot(eqn, [-10 10])
There are multiple roots.
There is a lower bound around -4.663 with a second root around -4.656. There is, however, no upper bound.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by