Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. result = 1 + tasa;
  2. result = pow (result, -periodo);
  3. result = 1 - result;
  4. result = result / tasa;
  5. result = monto / result;
  6.  
  7. This is equal to
  8.  
  9. result = monto / ((1 - (1+tasa)^-periodo)/tasa)
  10.  
  11. tasa, monto, periodo and result are all doubles.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement