Explore BrainMass

Explore BrainMass

    Spring-Mass-Dashpot System Simulation

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

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    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 ad1c9bdddf
    https://brainmass.com/engineering/electrical-engineering/spring-mass-dashpot-system-simulation-18460

    Attachments

    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

    ADVERTISEMENT