TovaHasi commited on
Commit
b123e59
1 Parent(s): 5492fb3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -227,9 +227,9 @@ def get_array_CF_PV():
227
 
228
  sale_price_mashine = 0
229
  if genre == 'Покупка автоматизированного ричтрака':
230
- sale_price_mashine = 0.7*(I_0 - np.sum(array_amortization)) / array_discounting[-1]
231
  elif genre == 'Покупка механизированного ричтрака':
232
- sale_price_mashine = 0.7*(I_0 - np.sum(array_amortization)) / array_discounting[-1]
233
 
234
  array_PV.append(sale_price_mashine * array_discounting[-1] * 0.8)
235
  array_CF.append(sale_price_mashine * 0.8)
 
227
 
228
  sale_price_mashine = 0
229
  if genre == 'Покупка автоматизированного ричтрака':
230
+ sale_price_mashine = 0.7*(I_0 - np.sum(array_amortization))
231
  elif genre == 'Покупка механизированного ричтрака':
232
+ sale_price_mashine = 0.7*(I_0 - np.sum(array_amortization))
233
 
234
  array_PV.append(sale_price_mashine * array_discounting[-1] * 0.8)
235
  array_CF.append(sale_price_mashine * 0.8)