Question: How to solve Generalised Eigenvalue problem for symbolic matrices?

I am a newbie. I m having some problems in solving generalised eigenvalue problem for symbolic matrices. Help me to discover the problems with this code.

Here is my code:-

>with(LinearAlgebra):

> M := Matrix(2, 2, [4*(I*E/L^3), 6*(I*E/L^3), 6*(I*E/L^3), 24*(I*E/L^3)])

> G :=Matrix(2,2,[2/(15)(-1/(L)),1/(10)(-1/(L)),1/(10)(-1/(L)),12/(5)(-1/(L))])

> Eigenvalues(M, G, output = 'Vector[row]')

 

Error:-

Error, (in LinearAlgebra:-Eigenvalues) invalid input: LinearAlgebra:-Eigenvalues expects its 2nd argument, C, to be of type Matrix(square) but received G
 

Please Wait...