A resistance load is applied to the ankle with the leg posit
     A resistance load is applied to the ankle with the leg positioned as shown below. The forces on the leg when the knee is in full extension can be represented with the following linear system of equations: R_x - F_PL cos(theta) = 0  R_y + F_PL sin(Theta) - W_L - W_R = 0  0.06F_PL - 0.32W_L - 0.45W_R = 0  where theta is the angle between the muscle and the leg (20 degrees)   
  
  Solution
clc
 clear;
 wl=57;
 wr=50;
 fpl=10;
 while fpl<=2000,
 t=20*pi/180;
 A=[1 0 -cos(t);0 1 sin(t); 0 0 0.06];
 b=[0;wl+wr;(0.32*wl+0.45*wr)];
 x=inv(A)*b;
 fpl=x(3);
 wr=wr+5;
 end
 wr=wr-5;
 disp(\'final force in the patelier ligament is\');
 disp(fpl);
 disp(\'final resistance in load\');
 disp(wr);
 disp(\'(rx,ry,fpl)\');
 disp(x);
result:
final force in the patelier ligament is
    2.0290e+03
final resistance in load
    230
(rx,ry,fpl)
    1.0e+03 *
    1.9066
    -0.4070
     2.0290
>>

