Question: Copy the above function code (the first four code lines) into the Function box and change it so it takes two functions f and g

Copy the above function code (the first four code lines) into the Function box and change it so it takes two functions f and g and one number a and so it finds the derivative of the composition , plugs in (read that carefully!) and returns that value. Then submit it.

This was the above function code:

function r = myderivatpoint(f,a)

syms x

r = subs(diff(f(x)),x,a);

end

I also don't know how I'd call the code to function in this. Thanks.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!