Question: Matrix evaluation

Hello, 

I didn't manage to evaluate the following sum of 2 matrix M*p²+K. 
The 2 matrix can be evaluated separately.
But, strangely, whan i try to evaluate the sum, i can get the numerical values. 

Let's see :

[img]http://www.gilawhost.com/images/s7ur3of2.gif[/img]

 

Code:

M; 
K; 
r:=0.07; 
m:=0.02; 
J:=m*r^2; 
theta_e:=evalf(-90*Pi/180); 
xG_e[1]:=evalf(r/2*sin(theta_e)); 
yG_e[1]:=evalf(-r/2*cos(theta_e)); 
kA:=10^6; 
M; 
K; 
MatrixAdd(M,K); 



Thank you for help

Please Wait...