```python
from sympy import*
init_printing()
```


```python
k,m,w0,w = symbols('k,m,\omega_0,\omega')
m1,m2 = symbols('m_1,m_2')
```


```python
W = w0**2*Matrix([[2,-1,0,0],[-1,2,-1,0],[0,-1,2,-1],[0,0,-1,2]])

display(W)
w0=1
```


```python
solve(det(W - w**2*eye(4)),w**2)
```


```python
W.eigenvals()
```


```python
evecs = W.eigenvects()
```


```python
for i in range(0,len(evecs)):
    display(simplify(evecs[i][2][0]))
```


```python
m2 = Matrix([[2*k/m1, k/m1],[k/m2,-k/m2]])
```


```python
evecs2 = m2.eigenvects()
for i in range(0,len(evecs2)):
    display(simplify(evecs2[i][2][0]))
```


```python

```

0f44ef8616d8569f4e16d80500e477c064f008e5
ipynb
Jupyter Notebook
teaching/PHY1110/DS/Code/.ipynb_checkpoints/DS10 - Four Masses and Five Springs-checkpoint.ipynb
dpcherian/dpcherian.github.io
6110da8c20e05edc106882db8b1c3795ade37708
MIT
teaching/PHY1110/DS/Code/.ipynb_checkpoints/DS10 - Four Masses and Five Springs-checkpoint.ipynb
dpcherian/dpcherian.github.io
6110da8c20e05edc106882db8b1c3795ade37708
MIT
teaching/PHY1110/DS/Code/.ipynb_checkpoints/DS10 - Four Masses and Five Springs-checkpoint.ipynb
dpcherian/dpcherian.github.io
6110da8c20e05edc106882db8b1c3795ade37708
MIT
Qwen/Qwen-72B
1. YES
2. YES