Fall 2019

MS Mathematics

MTH704

Total Marks: 10

Due Date: 02-12-2019

Instructions:

• Write the code of the given problems in Script File with .m extension

• You can directly upload the .m file or you can paste the code and output in word file and then upload the word file.

Question

Find the first and second derivative of the following function with respect to x using MATLAB command.

Then create a surface plot of the given function and its first and second derivatives by defining X and Y using meshgrid command with hold on and hold off command.

Take the interval form -5 to 5.