Frame Problem
A basic form is shown below:

Equations derived from stiffness equations:


Globle stiffness equation is shown below:

Q matrix is shown below:

Force matrix is show below:

Matrix for the system is shown below:
The reduced stiffness is
To solve for the displacements
After matrix math.
After solving for the forces the result is
Below is a figure of the new deformed frame plotted with the undeformed frame.
Deformed frame in red plotted with the undeformed frame in black.