Problem 7.4#
Starting with Eqn. 7.28 and taking our answers from Problem 7.3:
where the matrix is
The force vector can be written explicitly from Eqns 7.42-7.43, with the assumption of \(h=0\), as
such that the overall linear system of equations is
To determine an expression for \(\theta(x)\), we seek the coefficients \(d_B\) such that we can write \(\theta(x)\) in terms of the shape functions in Eqn. 7.26:
where \(n=2\) for this case.
Solving for the coefficients \(d_B\)#
In this case it is straightforward to solve this linear system of equations by inverting the matrix \(K\). The inverse of this 2 x 2 matrix, \(K^{-1}\), is
and so the coefficients may be determined by
such that
Applying the coefficients \(d_B\)#
Substituting the coefficients \(d_1\) and \(d_2\) into
will provide the final solution for \(\theta\). Because the form of the shape functions is not the same at each part of the domain (there are two elements) we need to consider each element separately to be certain. We will see, however, that each element provides the same solution for \(\theta\).
Element 1: \(0 \leq x \leq \frac{1}{2}\)#
Applying the linear shape functions in 7.39-7.41 as well as the coefficients for \(d_1\) and \(d_2\), while noting \(d_{n+1}\) = \(d_3\) = \(\theta_1\):
since \(N_3\) is 0 here. Hence, this reduces to
Element 2: \(\frac{1}{2} \leq x \leq 1\)#
In this case \(N_1\) = 0 and so
which also reduces to