Question: Derivative of fuction to define equation for rootfinding problem. function y = fp( x ) % function y = fp(x) % Derivative of fuction to
Derivative of fuction to define equation for rootfinding problem.
function y = fp( x ) % function y = fp(x) % Derivative of fuction to define equation for rootfinding problem. y = zeros(size(x)); % ============= YOUR CODE BEGINS HERE ============== % Instructions: Return the derivative of function f(x)=e^(-x)-sin(x), that is % y=-exp(-x)-cos(x).
% ============= YOUR CODE ENDS HERE ================ end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
