Calculating a function and drawing a graph

derivative at x=1 and drawing a function graph.
my solution was:
but didnt work. Need help.
x= 1;
f(x) =sin*x/x^2+1;
fplot(f)

 採用された回答

madhan ravi
madhan ravi 2018 年 11 月 25 日
編集済み: madhan ravi 2018 年 11 月 25 日

1 投票

syms x
f=sin(x)/(x^2+1);
fplot(f)
derivative=diff(f,x)
derivative_when_x_equals_one=double(subs(derivative,x,1))

2 件のコメント

Gaston Gakomo
Gaston Gakomo 2018 年 11 月 25 日
thanks :)
madhan ravi
madhan ravi 2018 年 11 月 25 日
Anytime :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

製品

リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by