The potential energy of an element in terms of local displacements q1 and q2 is given by the expression:
Π = 3(q1^2) - 6q1q2 + 9(q2^2) + 9q1
Write down the expressions for element stiffness matrix k and element force f.
I am at a complete loss as to what to do. Please help.