Professional Documents
Culture Documents
restart:
with(linalg):
> N:=matrix(1,4,[(2*x^3-3*L*x^2+L^3)/L^3,(L*x^3-2*L^2*x^2+x*L^3)
/L^3,(-2*x^3+3*x^2*L)/L^3,(L*x^3-x^2*L^2)/L^3]);
(1)
> W:=matrix(1,1,[-20e3]);
(2)
> NT_W:=multiply(transpose(N),W);
(3)
> re:=map(int,NT_W,x=0..L);
(4)
(5)
(6)
(6)
> B:=map(diff,N,(x$2));
(7)
> BTB:=multiply(transpose(B),B);
(8)
> K:=map(int,BTB,x=0..L);
(9)
(9)
> K:=evalm(E*I*K);
(10)