%phase_pendum_lin.m

clear all
clc 

%[m/s^2]
g=10;
%[m]
l=10;
%[kg*m^2/s]
b=5;
%[kg]
m=0.1;

%Equilibrium 1
x1=0;
x2=0;

A1=[0 1; -g/l*cos(x1) -b/m/l^2]

[V1,D1]=eig(A1)

%Equilibrium 2
x1=pi;
x2=0;

A2=[0 1; -g/l*cos(x1) -b/m/l^2]

[V2,D2]=eig(A2)

