old_contents: # Find simplified formula for bank balance sheet change as a result of
  # ELA collateral seizure
  # Christopher Gandrud
  # MIT License
  ################################################################################
  
  # Import SymPy
  import sympy as sp
  from sympy.abc import eta, gamma
  
  # Define symbols (eta and gamma imported)
  A, AN, AP, la,  AD = sp.symbols('A A_N, A_P, \lambda A_d')
  
  #######
  # Simplified form of proportion of liquid assets
  lambdaA = (1 - la) * gamma * AN + la * (1 - gamma) * AP
  
  print(sp.latex(lambdaA))
  
  #######
  # Expanded form expression for the change in non-performing loans after ELA
  # collateral seizure
  expr_npl1 = (gamma * A) / A
  expr_npl2 = (gamma * A - eta * gamma * AD)/ (A - AD)
  
  # Subtract and print simplified form as LaTeX
  print(sp.latex((expr_npl1 - expr_npl2)))
  
new_contents: # Find simplified formula for bank balance sheet change as a result of
  # ELA collateral seizure
  # Christopher Gandrud
  # MIT License
  ################################################################################
  
  # Import SymPy
  import sympy as sp
  from sympy.abc import eta, gamma
  
  # Define symbols (eta and gamma imported)
  A, AD = sp.symbols('A A_d')
  
  print(sp.latex(lambdaA))
  
  #######
  # Expanded form expression for the change in non-performing loans after ELA
  # collateral seizure
  expr_npl1 = (gamma * A) / A
  expr_npl2 = (gamma * A - eta * gamma * AD)/ (A - AD)
  
  # Subtract and print simplified form as LaTeX
  print(sp.latex((expr_npl1 - expr_npl2)))
  
subject: remove old liquidity formula