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

5 vues (au cours des 30 derniers jours)
Bishwam Pattnaik
Bishwam Pattnaik le 12 Mar 2019
Modifié(e) : VBBV le 2 Fév 2024
f=@(x) x^2- 4
a=diff(f,x)
a(2)? .... (i am getting error here)

Réponses (1)

Alex Mcaulley
Alex Mcaulley le 12 Mar 2019
Modifié(e) : VBBV le 2 Fév 2024
syms x
f=x^2- 4
f = 
a(x)=diff(f,x)
a(x) = 
a(2)
ans = 
4

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by