[Scilab-users] Solving a ecuation

Stéphane Mottelet stephane.mottelet at gmail.com
Fri Nov 8 23:39:35 CET 2013


Hello,

spec(Kx,M) will give you all the solutions.

S.

> Le 8 nov. 2013 à 20:30, Chuox <chuox.bece at gmail.com> a écrit :
> 
> I need to solve the following equation
> 
> det(Kx-w*M)=0, Were Kx, and M are know matrix, in my texas vollage 200 (R) i
> solve it like this:
> 
> Kx=
> 
> 
>    457458.17  - 187960.85    0.           0.           0.         
>  - 187960.85    386294.62  - 198333.77    0.           0.         
>    0.         - 198333.77    269758.49  - 71424.72     0.         
>    0.           0.         - 71424.72     100135.95  - 28711.232  
>    0.           0.           0.         - 28711.232  - 28711.232  
> 
> M=
> 
>    457458.17  - 187960.85    0.           0.           0.         
>  - 187960.85    386294.62  - 198333.77    0.           0.         
>    0.         - 198333.77    269758.49  - 71424.72     0.         
>    0.           0.         - 71424.72     100135.95  - 28711.232  
>    0.           0.           0.         - 28711.232  - 28711.232  
> 
> 
> det(Kx-w*M) and i get an ecuation in fucntion of w like this:
> 
> -769068340073*(w^5-6240.278*w^4+13359439.553*w^3-11742579744.9*w^2+3.7606*10^12*w-2.67*10^14)
> 
> Then:
> solve(-769068340073*(w^5-6240.278*w^4+13359439.553*w^3-11742579744.9*w^2+3.7606*10^12*w-2.67*10^14)=0,w)
> 
> The following results:
> w=98.064 or w=484.37 or w=1261.711 or w=1596.79 or w=2799.33
> 
> I dont even know how to solve the last equation in SciLab.
> 
> Thank a lot!
> 
> 
> 
> 
> 
> --
> View this message in context: http://mailinglists.scilab.org/Solving-a-ecuation-tp4027804.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users



More information about the users mailing list