finding roots of equation

17 ビュー (過去 30 日間)
Sourav Dey
Sourav Dey 2021 年 5 月 16 日
回答済み: KSSV 2021 年 5 月 16 日
how to find roots of equation
0.5*(x-2)^3-40*Sin(x)=0
in interval [2,4] . i have done code but its not giving correct output....
syms x;
equation=0.5*(x-2)^3-40*sin(x)==0;
sol=solve(equation,x);
please help

採用された回答

KSSV
KSSV 2021 年 5 月 16 日
syms x
eqn = 0.5*(x-2).^3-40*sin(x) == 0 ;
s = vpasolve(eqn,x)
s = 

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by