Update app.py
Browse files
app.py
CHANGED
@@ -17,6 +17,9 @@ z = np.arange(T)
|
|
17 |
r_d = A * (1 + np.array(tasas) / (12 * 100)) ** z
|
18 |
r_c = A * np.exp(np.array(tasas) * z / (12 * 100))
|
19 |
|
|
|
|
|
|
|
20 |
new_dict = {"Mes": np.arange(1, T+1),
|
21 |
"Retorno discreto": r_d,
|
22 |
"Retorno continuo": r_c}
|
@@ -26,3 +29,4 @@ st.dataframe(df)
|
|
26 |
|
27 |
st.write(f"En {int(T)} meses tendrás: $ {r_c[-1]}")
|
28 |
|
|
|
|
17 |
r_d = A * (1 + np.array(tasas) / (12 * 100)) ** z
|
18 |
r_c = A * np.exp(np.array(tasas) * z / (12 * 100))
|
19 |
|
20 |
+
print("r_d:", r_d)
|
21 |
+
print("r_c:", r_c)
|
22 |
+
|
23 |
new_dict = {"Mes": np.arange(1, T+1),
|
24 |
"Retorno discreto": r_d,
|
25 |
"Retorno continuo": r_c}
|
|
|
29 |
|
30 |
st.write(f"En {int(T)} meses tendrás: $ {r_c[-1]}")
|
31 |
|
32 |
+
|