Please solve the following in MATLAB Please add the comments

Please solve the following in MATLAB. Please add the comments in each line and provide the coding window and the command window. Try to make the codes as universal as possible. Write a function file that performs gradient-based optimization and determine the maxima, minima and inflection points for the same equation in #6 over the same range. Determine what your inputs and outputs should be. X^6 - 10x^5 + 36x^4 - 58x^3 + 43x^2 -12x-13

Solution

%%% Given Functions is x^6-10x^5=36x^4-58x^3+43x^2-12x-13

clc;

close all;

clear all;

%y=x^6-10*x^5+36*x^4-58*x^3+43*x^2-12*x-13

%% Just copy this file in Matlab and get the ans in command window

 Please solve the following in MATLAB. Please add the comments in each line and provide the coding window and the command window. Try to make the codes as unive

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site