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

3 ビュー (過去 30 日間)
Bishwam Pattnaik
Bishwam Pattnaik 2019 年 3 月 12 日
編集済み: VBBV 2024 年 2 月 2 日
f=@(x) x^2- 4
a=diff(f,x)
a(2)? .... (i am getting error here)

回答 (1 件)

Alex Mcaulley
Alex Mcaulley 2019 年 3 月 12 日
編集済み: VBBV 2024 年 2 月 2 日
syms x
f=x^2- 4
f = 
a(x)=diff(f,x)
a(x) = 
a(2)
ans = 
4

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by