Question

In: Advanced Math

Numerical Linear Algebra: Please provide a correct detailed solution!!! Suppose you have the following data: (0,...

Numerical Linear Algebra:

Please provide a correct detailed solution!!!

Suppose you have the following data: (0, 1.0000), (0.25, 1.2840), (0.50, 1.6487), (0.75, 2.1170) and (1.00, 2.7183) . Using MATLAB, find a polynomial P (x) of degree 2 that fits the data with the minimal approximation error. Calculate this error. Then sketch these discrete points and the graph of the polynomial P(x) in a figure using MATLAB.

Solutions

Expert Solution

First, plot these values using following code:

x = [0 0.25 0.50 0.75 1];

y = [1 1.2840 1.6487 2.1170 2.7183];

plot(x,y)

---------

Then, in figure menu bar click Tools -> Basic Fitting.

In basic fitting dailog box, do as following screenshot:

After doing these, you've got quadratic equation in your plot as well as its residuals (approx. error).

Also, once you click on save to workspace in basic fitting dialog box - you can access all values in command window.

----------------------------------

I hope you'll find it useful.

Thank You!


Related Solutions

(please provide detailed solution with formula and figures) the researcher wishes to use numerical descriptive measures...
(please provide detailed solution with formula and figures) the researcher wishes to use numerical descriptive measures to summarize the data on each of the two variables: hours worked per week and yearly income. a) Prepare and display a numerical summary report for each of the two variables including summary measures such as mean, median, range, variance, standard deviation, smallest and largest values and the three quartiles. Notes: Use QUARTILE.EXC command to generate the three quartiles. b) Compute the correlation coefficient...
Can i please have a quick explanation on Markov Chain in linear algebra. Thanks
Can i please have a quick explanation on Markov Chain in linear algebra. Thanks
Hi. I have two questions about the linear algebra. 1. Consider the following sets: (a) The...
Hi. I have two questions about the linear algebra. 1. Consider the following sets: (a) The set f all diagonal 3*3 matrices (b) The set of all vectors in R^4 whose entries sum to 0. For the cases where the set is a vectors space, give the dimension and a basis ******************************************************** 2. Let L be the set of all linear transforms from R^3 to R^2 (a) Verify that L is a vector space. (b) Determine the dimension of L...
Which of the following is correct? Select one: a. Qualitative data is generally non-numerical information b....
Which of the following is correct? Select one: a. Qualitative data is generally non-numerical information b. Information can only be extracted from external sources c. Operational information gives details of long-term plans only W. Ltd makes leather purses. It has drawn up the following budget for its next financial period: Selling price per unit                                                       $11.60 Variable production cost per unit                              $3.40 Sales Commission                                                            $5% of selling price Fixed production costs                                                  $430,500 Fixed selling and administration cost                       $198,150 Sales                                                                                      90,000...
Solve this differential equation: 9x - 7i > 3(3x - 7u) Please provide detailed solution
Solve this differential equation: 9x - 7i > 3(3x - 7u) Please provide detailed solution
(please provide detailed solution with formula and figures) the researcher considers using regression analysis to establish...
(please provide detailed solution with formula and figures) the researcher considers using regression analysis to establish a linear relationship between the two variables – hours worked per week and yearly income. a) What is the dependent variable and independent variable for this analysis? Why? b) Use an appropriate plot to investigate the relationship between the two variables. Display the plot. On the same plot, fit a linear trend line including the equation and the coefficient of determination R2 . c)...
Please, solve me these Qs quickly ..I have Exame. Provide a numerical evaluation of the density...
Please, solve me these Qs quickly ..I have Exame. Provide a numerical evaluation of the density of states for electrons in a bulk material with me =0.06m0 and with an energy 100 meV above the conduction band edge. Express your answer in units of eV-1 cm-3. Estimate the total number of states present per unit energy in a microscopic a =1μm InAs cube. The effective electron mass me =0.023m0 and the electron energy of interest is 100meV
Forward/futures contracts For the selected instrument can you please provide the following: A detailed explanation of...
Forward/futures contracts For the selected instrument can you please provide the following: A detailed explanation of the instrument How it can be used as part of a hedging program Limitations of the instrument The regulatory environment surrounding this instrument included required disclosures, etc. How this instrument is priced. The goal of this project is to provide a comprehensive overview of this specific instrument that could be used as a user’s guide for future risk management professionals as they consider the...
Please provide a detailed answer with justifications to the following question: How do you think developed...
Please provide a detailed answer with justifications to the following question: How do you think developed nations need to react to the fast-growing economies of the emerging counties?
Please provide a DETAILED summary of the role that hedge funds have in modern finance.
Please provide a DETAILED summary of the role that hedge funds have in modern finance.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT