summaryrefslogtreecommitdiff
path: root/698/CH7/EX7.9/P9_base_excitation.sce
blob: 31ca46f87ff8fed5c1f4b0b0de4246c3f9c01dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
clc
//Example 7.9
//Base_excitation

//------------------------------------------------------------------------------

//Given data

//Desired amplitude
Y=0.5*(10^-3) //m
//Desired frequency
f=6 //Hz
w=f*2*%pi //rad/s
//mass of the table
m=300/9.81 //kg


res9=mopen(TMPDIR+'9_base_excitation.txt','wt')
mfprintf(res9,'This is a forced, steady state vibration situation.\n\n')
mfprintf(res9,'There are 2 supporting springs, hence net stiffness Ke=2k\n')
mfprintf(res9,'Damping coefficient Ce = 0.05 Cc = 0.05*2*sqrt(Ke*m)')
mfprintf(res9,'\n\nThe expression for desired amplitude Y is\n')
mfprintf(res9,'\n\tY=Fo/sqrt((ke-m*w^2)^2+(Ce*w)^2)\n')
mfprintf(res9,'Y will be maximum at resonance, i.e., w=wn\n')
mfprintf(res9,'Thus the design condition is k=(1/2)m*w^2\n')

k=0.5*m*(w^2)

mfprintf(res9,'\tk=%0.2f kN/m\n',k* 10^-3)
mfprintf(res9,'\nAt resonance, Y=Fo/c*w')

Fo=(0.05*2*sqrt(2*k*m))*w*Y
mfprintf(res9,'\nThe peak solenoid force required is %0.2f N',Fo)

mclose(res9)
editor(TMPDIR+'9_base_excitation.txt')
//------------------------------------------------------------------------------
//-----------------------------End of program-----------------------------------