subject

The secret company project has been unveiled: a series of x springs which follow polynomial laws of force–displacement. as several constants are necessary to characterize these springs, you have been asked to evaluate the experimental data and provide the necessary calculations. the x spring displacement is described by a polynomial extension of hooke's law, f = -k x - q x^2 - r x^3where k, q,r are the new x spring constants (note the order of coefficients and the again, the spring constants may be determined from the experimental data as the coefficients of the polynomial best fitting the displacement and force data. (keep the signs and order of coefficients and powers in mind! )the data are recorded in the format [ m x ]; that is, the mass in the first column and the displacement observed in the second. units are unspecified in the experimental record. quadratic x spring10 2.15220 8.88040 38.5380 137.7160 528.3320 2078.640 8255.cubic x spring80 16.63160 108.7320 778.7640 5989.compose a function `fit_x_spring` which accepts an array of data in this format and returns the corresponding spring constants k, q,r. it should work the same for all orders of the polynomial behavior of the hyperelastic x spring.(note that you may receive a warning from matlab that the polynomial is badly conditioned. you may ignore that warning for this problem.)your function: function [ k q r ] = fit_x_spring( data )k = 0; endcode to call your function:

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
When determining the classification of data, which one of the following is the most important consideration? a. processing systemb. valuec. storage mediad. accessibility
Answers: 2
question
Computers and Technology, 23.06.2019 18:00
Which is a possible benefit of having a good credit history? having a checking account low interest rate on a car loan high interest rate on a credit card offer bankruptcy
Answers: 1
question
Computers and Technology, 25.06.2019 07:00
Afile named data.txt contains an unknown number of lines, each consisting of a single integer. write some code that creates two files, dataplus.txt and dataminus.txt, and copies all the lines of data1.txt that have positive integers to dataplus.txt, and all the lines of data1.txt that have negative integers to dataminus.txt. zeros are not copied anywhere.
Answers: 2
question
Computers and Technology, 25.06.2019 13:30
Peripherals can be used to output information. true or false
Answers: 1
You know the right answer?
The secret company project has been unveiled: a series of x springs which follow polynomial laws of...
Questions
question
English, 17.06.2021 15:40
question
Engineering, 17.06.2021 15:40
Questions on the website: 13722367