Trigonometry Equation

What is the process to determine a force acting upon a body as in a displacement represented by say p=?sin(t+?degree) with a force say n =?sin(t-?degrees) so that it evaluates to a given figure of energy of motion?