Professional Documents
Culture Documents
TUGAS-12
dibuat oleh :
MAGI PUTRANTO
327151020
Dosen :
Determine the displacement, velocity, and acceleration at 0.1-s time increments up to a time of 0.5 s for the onedimensional spring-mass oscillator subjected to the time dependent forcing function shown in Figure 16-9, along
with the restoring spring force versus displacement curve. Assume the oscillator is initially at rest. Let = 1/6
and = 1/2, which corresponds to an assumption of linear acceleration within each time step. Because we are
again considering the single degree of freedom associated with the mass, the general matrix equations describing
the motion reduce to single scalar equations. Again, we represent this single degree of freedom by d.
In[1]:=
Data
In[2]:=
t0
In[3]:=
t1
0.1
In[4]:=
t2
0.2
In[5]:=
t3
0.3
In[6]:=
t4
0.4
In[7]:=
t5
0.5
In[8]:=
F0
100
In[9]:=
F1
80
In[10]:=
F2
60
In[11]:=
F3
340 7
In[12]:=
F4
320 7
In[13]:=
F5
300 7
In[14]:=
70
In[15]:=
1.77
In[16]:=
0.1
Tugas-12a.nb
In[17]:=
In[18]:=
td
0.5
Step 1
At time t0 , the initial displacement and velocity are zero; therefore,
In[19]:=
t0
In[20]:=
In[21]:=
Step 2
The initial acceleration at t0 is obtained as
In[22]:=
dd
F0
Step 3
The displacement
In[23]:=
1
t
is obtained as
dd
Step 4
The displacement at time t1
In[24]:=
t1
In[25]:=
2 m
F0
Step 5
Having obtained
t
In[26]:=
1,
2 m
F1
Step 6
The acceleration at time t1 is
In[27]:=
dd
F1
Step 7
Tugas-12a.nb
Step 8
Having obtained
t
In[29]:=
2,
2 m
F2
Step 9
The aceeleration at time t2 is
In[30]:=
F2
dd
Step 10
The velocity at time t2 is
In[31]:=
Step 11
Having obtained
t
In[32]:=
3,
2 m
F3
Step 12
The aceeleration at time t3 is
In[33]:=
F3
dd
Step 13
The velocity at time t3 is
In[34]:=
Step 14
Having obtained
4,
Tugas-12a.nb
t
In[35]:=
2 m
F4
Step 15
The aceeleration at time t4 is
In[36]:=
F4
dd
Step 16
The velocity at time t4 is
In[37]:=
Step 17
Having obtained
t
In[38]:=
5,
2 m
F5
Step 18
The aceeleration at time t5 is
In[39]:=
F5
dd
Step 19
The velocity at time t5 is
In[40]:=
Tugas-12a.nb
i"
0
F1
"Q" "dd
k 0
dd
k
dd
i"
0
1
"d
d
d
i"
0
1
t2
F2
dd
t3
F3
dd
t4
F4
dd
t5
F5
dd
F0
k
F0
k
F0
k
F0
k
F0
k
F0
k
Cos t1
Cos t2
Cos t3
Cos t4
Cos t5
F0
k td
F0
k td
F0
k td
F0
k td
F0
k td
Sin
Sin
Sin
Sin
Sin
t0
t1
t2
t3
t4
t5
t0
t1
t2
t3
t4
t5
TableForm
Out[42]//TableForm=
t s
0
0.1
0.2
0.3
0.4
0.5
F t
100
80
60
340
7
320
7
300
7
0
0.282486
0.905232
1.50896
Q
0
19.774
63.3662
105.627
dd i
56.4972
34.026
1.90181
32.2349
1.79034
125.324
44.977
1.62195
113.536
39.9317
d i
0
4.52616
6.13237
4.42553
i eksak
0.
0.254834
0.849442
1.447
0.564937
1.70954
3.6805
1.42731