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)

 采纳的回答

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

更多回答(0 个)

类别

产品

版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by