Docsity

Maple Assignment 3: Earthquake Project - Finding Frequencies & Amplitudes of Vibration, Lab Reports of Mathematics

Toggle sidebar
bg1
Maple Assignment 3 โˆ’ Earthquake Project
Math 2250โˆ’2 Summer 2007
Name: ??????
> restart;
> with(LinearAlgebra):
Problem 1
Define the mass m and spring constant k
> m:= ????;
k:= ????;
The mass matrix M is
> M:= m*Matrix(6,6,shape=identity);
The stiffness matrix K is
> K:=
Matrix([[k,k,k,k,k],[โˆ’2*k,โˆ’2*k,โˆ’2*k,โˆ’2*k,โˆ’2*k,โˆ’k],[k,k,k,k,k]],shape=ban
d[1,1],scan=band[1,1]);
Convert the system Mxโ€™โ€™ = K x to xโ€™โ€™=Ax where A is
> Minv:= MatrixInverse(M);
> A:= MatrixMatrixMultiply(Minv,K);
Problem 2
Find the eigenvalues of A
> lambda := evalf(Eigenvalues(A));
Now find the natural frequencies of vibration
> freq:= v โˆ’> sqrt(โˆ’v);
> omega0:= evalf(map(freq,lambda));
and the periods are
> period:= w0 โˆ’> ?????;
> T0:= evalf(map(period,omega0));
Problem 3
Define the vector b that corresponds to the amplitude of the external forcing term for the system
xโ€™โ€™ = Ax + f(t)
where f(t) = b cos(w*t)
> beta:= ?????;
> b:= Matrix([[beta],[beta],[beta],[beta],[beta],[beta]]);
The long term behavior of the system is given by the particular solution xp(t) = c cos(w*t) where c is found
by solving
(A+w^2*I) c = โˆ’b
pf2

Partial preview of the text

Download Maple Assignment 3: Earthquake Project - Finding Frequencies & Amplitudes of Vibration and more Lab Reports Mathematics in PDF only on Docsity!

Maple Assignment 3 โˆ’ Earthquake Project Math 2250โˆ’2 Summer 2007 Name: ?????? **> restart;

with(LinearAlgebra): Problem 1** Define the mass m and spring constant k > m:= ????; k:= ????; The mass matrix M is > M:= mMatrix(6,6,shape=identity);* The stiffness matrix K is > K:= Matrix([[k,k,k,k,k],[โˆ’2k,โˆ’2k,โˆ’2k,โˆ’2k,โˆ’2k,โˆ’k],[k,k,k,k,k]],shape=ban d[1,1],scan=band[1,1]);* Convert the system Mxโ€™โ€™ = K x to xโ€™โ€™=Ax where A is > Minv:= MatrixInverse(M); A:= MatrixMatrixMultiply(Minv,K); Problem 2 Find the eigenvalues of A > lambda := evalf(Eigenvalues(A)); Now find the natural frequencies of vibration > freq:= v โˆ’> sqrt(โˆ’v); omega0:= evalf(map(freq,lambda)); and the periods are > period:= w0 โˆ’> ?????; T0:= evalf(map(period,omega0)); Problem 3 Define the vector b that corresponds to the amplitude of the external forcing term for the system xโ€™โ€™ = Ax + f(t) where f(t) = b cos(wt) > beta:= ?????; b:= Matrix([[beta],[beta],[beta],[beta],[beta],[beta]]); The long term behavior of the system is given by the particular solution xp(t) = c cos(wt) where c is found by solving (A+w^2*I) c = โˆ’b

*> P:= (A+omega^2Matrix(6,6,shape=identity));

Pinv := MatrixInverse(P): c:= MatrixMatrixMultiply(Pinv,omega^2b):* The components of vector c give the amplitude/size ofthe earthquake motion experienced by each floor. The maximum amplitude of vibration is found by finding the biggest element of c > A:= w โˆ’> subs(omega=w,simplify(Norm(c))): Plot of this maximal amplitude as a function of the forcing frequency w > plot(A(w),w=0..10,y=0..10,numpoints=10000); Which will cause a greater damage, an earthquake of frequency 1.8/sec or that with frequency 0.8/sec? What does each spike in your plot correspons to? Problem 4 Replot the function A(w) to assess possible damage to an earthquake. Using the first spike of the previous plot, graph the function A(w) over a small enough interval and determine an approximate interval within

which some floor of the building will undergo oscillations in excess of five feet. > plot(A(w),w=??????,y=0..10,numpoints=20000); Estimate of forcing frequency interval that will cause damage ?????