How to write a code to calculate the f '(3)?
4 views (last 30 days)
Show older comments
If f(x)=
,then i want to know what is the value after i differential it and replace x with 3
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242398/image.png)
I mean first i calculate f ' (x)=
,then now i replace x with 3= f ' (3)=
= -5.4783
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242399/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242400/image.png)
how do i write a code to calculate to the -5.4783?
I know i can use diff(
) to calculate the f ' (x),but how do i calculate the f ' (3) directly?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/242401/image.png)
0 Comments
Answers (1)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!