Thank you for your reply.
Below is the figure of my whole set up. One end of the hook is connected to the spring(here I have taken cylindrical structure instead of the spring which is shown in the left-hand side) and the other end is connected to the muscle with GI Wire hook at its two sides(shown in the right-hand side). A weight of 500g is attached to the shaft with the help of a rod. I want to know at certain compressive force(acted on both the faces) in the muscle how much angle will be the weight lifted? Can you help me regarding the boundary conditions to solve this?