Write a script file which will determine the displacement, MATLAB Programming

Assignment Help:

The mass of the spring-mass-damper system shown below was initially displaced by 1 meter to the right and then released. The subsequent acceleration of the mass was measured using an accelerometer; this data is contained in the file smd_data.txt posted on the class web site.

The file contains ascii data which provides the acceleration of the mass as a function of time; the first column of data in the file is time in seconds, the second column is the acceleration in meters/sec2. We wish to determine the maximum compressive force experienced by the spring during the time range provided in the data. The spring force is equal to the spring rate times the displacement, Fspring = ks.

1354_Determine the displacement of the mass.png

Write a script file which will determine the displacement of the mass as a function of time from the acceleration data. Trapezoidal integration will provide sufficient accuracy to infer the position and velocity of the seat as a function of time. Your program should plot the position of the mass as a function of time. You can use this plot to estimate the maximum negative displacement of the mass; the maximum compressive force is this displacement times the spring rate (k = 100 N/m).


Related Discussions:- Write a script file which will determine the displacement

#signals and systems, convolve the following sequences using tabulation met...

convolve the following sequences using tabulation method and verify the same using matrix mmethhod

Creating matrix variables- arguments , Creating matrix variables- arguments...

Creating matrix variables- arguments: The CAT arguments dimensions are not reliable. The Iterators can also be used for the values on the rows by using the colon operator;

Matrix inverse, how to find matrix inverse using matlab command

how to find matrix inverse using matlab command

Plot a training curve, Implement a single-layer perceptron and train it to ...

Implement a single-layer perceptron and train it to translate the digital letters given in the file "pattern1" into the corresponding ASCII representation. Plot a training curve an

DC Motor, I need assignment to finish.

I need assignment to finish.

Fourier series for the sawtooth wave, Q. An expression for a sawtooth wave ...

Q. An expression for a sawtooth wave over the internal 0 ≤ t ≤ T0 is given by f(t) = At/T0. The student is encouraged to check the Fourier coefficients to be a 0 = A/2, an = 0 for

Generates sin or cos wave using plot functions, Generates sin or cos wave u...

Generates sin or cos wave using plot functions: The script generates an x vector; iterating through all the values from 0 to 2*π in steps of 2*π /40 gives sufficient points to

Variable number of output arguments - function, Variable number of output a...

Variable number of output arguments: The variable number of output arguments can also be identified. For illustration, the one input argument is passed to the below function t

Digital communication, I need this task to be done with discription of matl...

I need this task to be done with discription of matlab coding.

Write a matlab program, Write a MATLAB program that calculates the arithmet...

Write a MATLAB program that calculates the arithmetic mean, the geometric mean, and the root-mean-square average for a given set of values. Your program must use 3 functions t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd