```python
import sympy as sm
```


```python
par = {}
par["alpha"] = 5.76
par["h"] = 0.5
par["b"] = 0.5
par["phi"] = 0
par["gamma"]=0.075
alpha = par["alpha"]
h = par["h"] 
b = par["b"] 
phi = par["phi"]
gamma = par["gamma"]
```


```python

```


```python
sm.init_printing(use_unicode=True)
pi_t = sm.symbols('pi_t')
pi_t1 = sm.symbols('pi_t-1')


v_t = sm.symbols('v_t')
y_t = sm.symbols('y_t')
y_t1 = sm.symbols('y_t-1')
s_t = sm.symbols('s_t')
s_t1 = sm.symbols('s_t-1')
ad = 1/(h*alpha)*(v_t-(1+b*alpha)*y_t)
sras = pi_t1 + gamma*y_t - phi*gamma*y_t1 + s_t - phi*s_t1
```


```python
AD = sm.Eq(ad, pi_t)
SRAS = sm.Eq(sras, pi_t)
```


```python
SRAS
```


```python
ADSRAS=sm.Eq(sras,ad)

```


```python
y_star = sm.solve(ADSRAS, y_t)
```


```python
y_star
```


```python

pi_star = 1/(h * alpha) * (v_t - (1 + b * alpha) * y_star[0])
pi_star
```


```python

```

ce34002e29f066b06884843f8c4e44767cff83d7
ipynb
Jupyter Notebook
exam/Untitled1.ipynb
s-corfixen/projects-2019-snake-on-3310
5c51dd3bde0e24d58ec78c58cb017ea7a1db18f1
MIT
exam/Untitled1.ipynb
s-corfixen/projects-2019-snake-on-3310
5c51dd3bde0e24d58ec78c58cb017ea7a1db18f1
MIT
exam/Untitled1.ipynb
s-corfixen/projects-2019-snake-on-3310
5c51dd3bde0e24d58ec78c58cb017ea7a1db18f1
MIT
Qwen/Qwen-72B
1. YES
2. YES