![]() ![]() ![]() ![]() 2) Use the Matlab function polyder to evaluate the derivative of the polynomial developed in part (1) for each of the temperatures listed in the table. ![]() Comment on your results and explain any unusual behavior. Vary n from a value of 1 to19 where the upper limit corresponds to the interpolating polynomial which passes through all the base points. Tabulate the maximum relative error observed as a function of n. Compare the saturation pressure as calculated by the polynomial with the data given in the table and observe what happens as the degree of the polynomial n is increased. The Matlab function polyval may be used to evaluate the polynomial at any point. Transcribed image text: 1) Use the Matlab function polyfit to curve fit the saturation pressure versus temperature data along the vaporization line for water in the table below with a polynomial of degree n.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |