DreherVinicius_1900011
Ask the user to input the degree of the polynomial.
Based on the inputted degree, ask the user to input the different polynomial coefficients.
Generate a range X of values between 100 and 100.
Calculate polynomial P(x) for all values of range X. These results should be allocated in a vector P.
Plot the graph of P(x) in a figure titled Graph of Polynomial.
P(x) should be plotted in blue.
The title should be in blue, Font Size 16, Font Weight bold.
The x-axis should be labelled x-axis in red, Font Size 12, Font Weight bold.
The y-axis should be labelled y-axis in red, Font Size 12, Font Weight bold.
The figure should display major and minor grid lines.
x-axis limits should be set between the first and final roots 2.
y-axis limits should be set between the extrema 2.
Find in vector P the indices for which P(x)=0 and the indices at which P(x) sign changes. Based on these indices the root will be determined.
The root must not be determined using any embedded Matlab functions such as fzero, roots, poly, polyval, etc.
The code should return in the command window the number of roots, and the roots value sorted in ascending orders.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.