Question: All problems must be formatted correctly in the report to obtain full points. Code Problem 2: must be well commented and sectioned. Any information missing

All problems must be formatted correctly in the report to obtain full points. Code Problem 2: must be well commented and sectioned. Any information missing from the report Let's say I gave you this equation or the simple act of typing out results in MATLAB and calling those results will result in a zero for the grade. If you have any questions or comments, feel free to Fun=x2+sin(xy)+3xy join office hours or to email me. I am asking you to take the symbolic derivative of this equation using Matlab's Problem 1 built-in function diff(). These are the outputs I want to see. We will be writing code and comparing them to built-in functions in MATLAB so Part a) Take the first derivative with respect to x we can understand how to write code and how to call built-in functions. Use Part b) Take the second derivative with respect to x fprintf to output all your results. Part c) Similar to Part a take the first derivative with respect to x, but the a) Write a piece of code that solves the quadratic equation, compare it with equation call needs to be an anonymous function. the roots function. More information : Matlab Roots() a. Use a=5;b=4,c=7 as your test variables, results in results section Part d) Use the diff() function to take the difference between each point of b) Write a piece of code that solves for the mean and standard deviation of this vector V. user input values. Compare those with the built-in functions in matlab that solve The output should be another vector of the size 131 for the mean and the standard deviation. V=[2,4,9,16,25,36,56,64,81,100,121,144,169,196] More information Matlab std() Matlab mean() ** This was not taught in class but you have all the tools and now the built- a. Use values 2,4,7,9,2 as your test variables, results in results secin function name to be able to solve this problem** tion, input values as a vector Expected outputs: Expected outputs: Report: Half Report Format Report: Full Report Format Code: In code comment the purpose of the segment of code is. (Short and direct) Code: In code comment the purpose of the segment of code is. (Short and direct) Variable Code that solves the problem Variable Code that solves the problem Output results with fprintf() where applicable all other outputs use disp() Output all of your results fprintf() Code is individually developed and well commented. Code is individually developed and well commented
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
