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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 03:30, natalie2sheffield
Hashtags serve to identify the topic of a given tweet true false
Answers: 2
image
Computers and Technology, 24.06.2019 13:00, ddaaaeeee2960
Which one of the following functions is not available on the autosum tool? sum average if max
Answers: 3
image
Computers and Technology, 24.06.2019 16:00, dareaalcaam111
What is a dashed line showing where a worksheet will be divided between pages when it prints? a freeze pane a split box a page break a print title
Answers: 1
image
Computers and Technology, 24.06.2019 23:30, jinkiesandrosie
Game design colleges anyone know the requirements? ?
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 in other subjects:

Konu
Mathematics, 08.06.2020 05:57