kill(all)$

van=facebook.com/LearningCalculus$

A(L):=''(trigsimp(
               ((sin(%theta))^(2)*(L)^(2)*1/2) +
               ((cos(%theta))^(2)*(L)^(2)*1/2)   ));

A(2);