Question

In: Physics

The mass of 100 g hangs in a spring with the spring constants 40 N /...

The mass of 100 g hangs in a spring with the spring constants 40 N / m. The pulp is swung by the spring being stretched 14 mm. Neglect all energy losses.

a) Use MatLab and draw a chart showing the distance from equilibrium mode as a function of time with the initial conditions x (0) = 14 mm and v (0) = 0 mm / s

b) Determine speed as a function of time.

Solutions

Expert Solution

MATLAB PROGRAM: put damping constant=0 as there is no loss of energy.

Put spring constant value=40 and m=0.1 kg

%Program Body
clear
clc
t= linspace(0,70);
%Input
prompt= 'For damped oscillation consider the following forces F1=-
b*v and F2=k*x. Insert the mass of the particle, damping constant b
and the spring force constant k \n';
m= input(prompt);
b= input(prompt);
k= input(prompt);
prompt = 'Insert the initial position of particle \n';
a= input(prompt);

%Defining functions
T= 2*m/b;
w= sqrt((k/m)-(b.^2/(4*m.^2)));
f= a*cos(w*t).*exp(-t/T);
v= gradient(f);
A= gradient(gradient(f));
K=0.5.*m.*(v.^2);
p=(0.5).*k.*(f.^2);
E= K+p;
%Obtaing the required subplots

%Displacement
subplot(2,2,1);
t= linspace(0,70);
plot(t,f);
title('Subplot 1: Displacement');
ylabel('Displacement');
xlabel('Time');
grid on;
grid minor;
%Velocity
subplot(2,2,2);
t= linspace(0,70);
plot(t,v);
title('Subplot 2: Velocity');
ylabel('Velocity');
xlabel('Time');
grid on;
grid minor;

Energy
subplot(2,2,4);
t= linspace(0,70);
plot(t,E);
title('Subplot 4: Energy');
ylabel('Energy');
xlabel('Time');
grid on;
grid minor;
%Program-end


Related Solutions

A 200 g mass hangs from a massless spring (k = 10 N/m). At t =...
A 200 g mass hangs from a massless spring (k = 10 N/m). At t = 0.0 s, the mass is 20 cm below the equilibrium point and moving upward with a speed of 100 cm/s. What is the a. oscillation frequency? b. distance from equilibrium when the speed is 50 cm/s? c. distance from equilibrium at t = 1.0 s?
A mass hangs from the ceiling by a spring. It takes the mass 700 ms to...
A mass hangs from the ceiling by a spring. It takes the mass 700 ms to fall from its maximum height of 2.3m to its minimum height of 1.6m above the floor. (a) At what height above the floor does the mass have zero acceleration? (b) What is the maximum speed of this mass? (c) If you start a timer ( t = 0) at the moment when the mass is falling below a height of 1.9m, then at what...
Spring Constants & Periods By varying the mass placed on a spring, the period of oscillation...
Spring Constants & Periods By varying the mass placed on a spring, the period of oscillation can be changed. When multiple data sets are collected and plotted, the spring constant can be determined. Before data was collected, the minimum and maximum masses were determined by visually watching the harmonic motion. For the minimum, a mass was chosen such that the resulting simple harmonic motion had an appreciable amplitude without significant dampening over ten periods. For the maximum, the mass was...
1) Sinusoidal Motion Properties in Spring Mass System- A 200g mass hangs from vibrating spring at...
1) Sinusoidal Motion Properties in Spring Mass System- A 200g mass hangs from vibrating spring at lowest point of 3cm above table and at it's highest point at 12cm above table. It's oscillation period is 4seconds. Determine the following: a. The spring constant in terms of T (period) b. The maximum velocity magnitude and maximum acceleration magnitude c. The velocity magnitude at 10cm above table d. The vertical position, velocity magnitude and acceleration magnitude at 5 seconds
A spring with spring constant 14 N/m hangs from the ceiling. A ball is attached to...
A spring with spring constant 14 N/m hangs from the ceiling. A ball is attached to the spring and allowed to come to rest. It is then pulled down 7.0 cm and released. The ball makes 29 oscillations in 25 s seconds. a) What is its the mass of the ball? b) What is its maximum speed?
A spring with spring constant 20 N/m hangs from the ceiling. A ball is attached to...
A spring with spring constant 20 N/m hangs from the ceiling. A ball is attached to the spring and allowed to come to rest. It is then pulled down 8.5 cm and released. The ball makes 28 oscillations in 18 s seconds. A) What is its the mass of the ball?​ B) What is its maximum speed?​
A single mass m1 = 3.5 kg hangs from a spring in a motionless elevator. The...
A single mass m1 = 3.5 kg hangs from a spring in a motionless elevator. The spring is extended x = 15 cm from its unstretched length. Spring constant is 228.9 2) What is the distance the lower spring is stretched from its equilibrium length? 3) Now the elevator is moving downward with a velocity of v = -2.7 m/s but accelerating upward with an acceleration of a = 5.5 m/s2. (Note: an upward acceleration when the elevator is moving...
A 175 g mass is connected to a light spring of force constant 2 N/m that...
A 175 g mass is connected to a light spring of force constant 2 N/m that is free to oscillate on a horizontal, frictionless track. The mass is displaced 3 cm from the equilibrium point and released from rest. a.) Find the period of the motion. Answer in units of s. b.) What is the maximum speed of the mass? Answer in units of m/s. c.) What is the maximum acceleration of the mass? Answer in units of m/s^2 .
A block with mass m = 6.2 kg is attached to two springs with spring constants...
A block with mass m = 6.2 kg is attached to two springs with spring constants kleft = 31 N/m and kright = 49 N/m. The block is pulled a distance x = 0.2 m to the left of its equilibrium position and released from rest. 1) What is the magnitude of the net force on the block (the moment it is released)? N 2) What is the effective spring constant of the two springs? N/m 3) What is the...
A block with mass m = 4.2 kg is attached to two springs with spring constants...
A block with mass m = 4.2 kg is attached to two springs with spring constants kleft = 34 N/m and kright = 57 N/m. The block is pulled a distance x = 0.22 m to the left of its equilibrium position and released from rest Where is the block located, relative to equilibrium, at a time 0.8 s after it is released? (if the block is left of equilibrium give the answer as a negative value; if the block...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT