# Spring-Mass-Dashpot System Simulation

Not what you're looking for? Search our solutions OR ask your own Custom question.

The attached graphs show simulated compression vs time for a spring-mass-dashpot system described by P(s) = 1/[s^2 + (B/m)s + k/m]. Parameters B, m, and k were each varied in turn with the other two held constant. Identify which parameter was varied in each graph, and whether it was increased or decreased from curve (a) to (d) in each case. (Hint: one graph has constant DC gain, and another has constant settling time).

Â© BrainMass Inc. brainmass.com March 6, 2023, 12:48 pm ad1c9bdddfhttps://brainmass.com/engineering/electrical-engineering/spring-mass-dashpot-system-simulation-18460

#### Solution Preview

% m is varied and B and k are fixed.

hold on;

%constant

B = 1;

k = 3;

%Vary

m = [20:20:80];

for i=1:4,

num = [1];

den = [1 B/m(i) k/m(i)];

sys = tf(num,den);

...

#### Solution Summary

The solution includes the calculations and MATLAB code. A spring-mass-dashpot system simulations are given. The expert analyzes the constant DC gains.

$2.49