how can i find the value of differentiation? that is f'(2)?

3 Ansichten (letzte 30 Tage)
Bishwam Pattnaik
Bishwam Pattnaik am 12 Mär. 2019
Bearbeitet: VBBV am 2 Feb. 2024
f=@(x) x^2- 4
a=diff(f,x)
a(2)? .... (i am getting error here)

Antworten (1)

Alex Mcaulley
Alex Mcaulley am 12 Mär. 2019
Bearbeitet: VBBV am 2 Feb. 2024
syms x
f=x^2- 4
f = 
a(x)=diff(f,x)
a(x) = 
a(2)
ans = 
4

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by