フィルターのクリア

这个极限我输入哪里有问题 This limit I enter where there is a problem

3 ビュー (過去 30 日間)
YIDAO
YIDAO 2023 年 2 月 24 日
コメント済み: YIDAO 2023 年 3 月 2 日
THANK

採用された回答

Dinesh
Dinesh 2023 年 2 月 28 日
編集済み: Dinesh 2023 年 2 月 28 日
Hi!
The answer to this problem should be 1 / 3. So, I tried running this code on my computer and discovered that this issue is because of operator precedence.
f(x) = x - sin(sin(x))/ x * x * x.
would end up as
which is not the function that we are aiming for. This happens because of operator precedence, meaning which operator must first execute. To avoid this, we will have to use parentheses.
Correct code would be:-
% parentheses will ensure the order in which code execution happens
syms x
limit( ( x - sin(sin(x)) ) / (x * x * x) , 0)
ans = 
output:-
Hope this helps !

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange函数基础知识 についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!