questions should be done on MATLAB
5) For the function f(x) = cos(x)exp(-x2) find and at 0.5 and = 1.
`Hey,
Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.
clc
clear all
close all
format long
f=@(x) cos(x).*exp(-x.^2);
fzero(f,0.5)
Dy=(f(0.5+1)-f(0.5-1))
Kindly revert for any queries
Thanks.
Get Answers For Free
Most questions answered within 1 hours.