Graphics Programs Reference
In-Depth Information
Write aprogram that solves these equationsfor givenvalues of
n
,
k
and
W
.Run
the programwith
n
=
5 and
k
1
=
k
2
=
k
3
=
10N/mm
k
4
=
k
5
=
5 N/mm
W
1
=
W
3
=
W
5
=
100 N
W
2
=
W
4
=
50N
k
k
1
k
2
1
W
1
W
1
x
1
xx
k
k
3
2
W
W
2
2
k
x
5
2
x
2
k
k
3
k
4
n
W
W
3
x
x
n
3
(a)
(b)
13.
The displacementformulation for the mass-spring system shown in Fig. (b)
results in the following equilibrium equations of the masses:
⎡
⎣
⎤
⎦
⎡
⎣
⎤
⎦
=
⎡
⎣
⎤
⎦
k
1
+
k
2
+
k
3
+
k
5
−
k
3
−
k
5
x
1
x
2
x
3
W
1
W
2
W
3
−
k
3
k
3
+
k
4
−
k
4
−
k
5
−
k
4
k
4
+
k
5
where
k
i
are the spring stiffnesses,
W
i
represent the weights of the masses, and
x
i
are the displacements of the masses from the undeformed configuration of
the system. Write aprogram that solves these equations, given
k
and
W
. Use the
program to find the displacements if
k
1
=
k
3
=
k
4
=
k
2
=
k
5
=
2
k
W
1
=
W
3
=
2
W
2
=
W
14.
u
2
2.4 m
u
1
1.8 m
u
3
u
5
u
4
45 kN
The displacementformulation foraplanetruss issimilar to thatofamass-
spring system. The differences are: (1) the stiffnesses of the members are
Search WWH ::
Custom Search