Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The energy of the mass - spring system is given by the sum of the kinetic energy and the potential energy. In the absence of

The energy of the mass-spring system is given by the sum of the kinetic energy and the
potential energy. In the absence of damping, the energy is conserved.
(a) Add commands to LAB05ex1 to compute and plot the quantity E=12mv2+12ky2
as a function of time. What do you observe? (pay close attention to the y-axis scale
and, if necessary, use ylim to get a better graph). Include at least one plot. Does
the graph confirm the fact that the energy is conserved?
(b) Show analytically that dEdt=0.(Note that this proves that the energy is constant).
(c) Add commands to LAB05ex1 to plot v vs y(phase plot). Include the plot. Does the
curve ever get close to the origin? Why or why not? What does that mean for the
mass-spring system?LAB05ex1.m
clear all; % clear all variables
m=16;%mass[kg]
k=49;% spring constant Nm
omega0=km2;
y0=-0.8; v0=,0.3;% initial conditions
, omega0); solve for y=Y(:,1);v=Y(:,2);%y,VY%y=Y(1);V=Y(2)=[V;}{:????2**y]0
y=Y(:,1);v=Y(:,2);% retrieve y,V from Y
figure(1); plot(t,y,'ro-',t,v,'b+-');% time series for y and v
grid on; axis tight;
%---------------------------------------------------------
function dYdt=f(t,Y, omegaO); % function defining the DE
y=Y(1);V=Y(2);
dYdt=[V;} omegaO{:????2**y];
end

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago

Question

to encourage a drive for change by developing new ideas;

Answered: 1 week ago

Question

4 What are the alternatives to the competences approach?

Answered: 1 week ago