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.
You can place an order similar to this with us. You are assured of an authentic custom paper delivered within the given deadline besides our 24/7 customer support all through.
Latest completed orders:
# | topic title | discipline | academic level | pages | delivered |
---|---|---|---|---|---|
6
|
Writer's choice
|
Business
|
University
|
2
|
1 hour 32 min
|
7
|
Wise Approach to
|
Philosophy
|
College
|
2
|
2 hours 19 min
|
8
|
1980's and 1990
|
History
|
College
|
3
|
2 hours 20 min
|
9
|
pick the best topic
|
Finance
|
School
|
2
|
2 hours 27 min
|
10
|
finance for leisure
|
Finance
|
University
|
12
|
2 hours 36 min
|