2022-08-04 20:30:29 +03:00
|
|
|
# Calculating Interest
|
2022-08-04 00:47:26 +03:00
|
|
|
|
2022-08-09 02:51:37 +03:00
|
|
|
This program provides utilities for calculating interest over a fixed or bounded number of iterations.
|
2022-08-04 02:11:32 +03:00
|
|
|
|
2022-08-04 20:30:29 +03:00
|
|
|
## Running the Program
|
|
|
|
|
|
|
|
To run this program, run:
|
2022-08-04 00:47:26 +03:00
|
|
|
```bash
|
2023-09-29 20:00:07 +03:00
|
|
|
leo run <function-name> <inputs>
|
2022-08-04 00:47:26 +03:00
|
|
|
```
|
2022-08-04 20:30:29 +03:00
|
|
|
where `<function_name>` is one of the following:
|
2022-08-09 02:51:37 +03:00
|
|
|
* `fixed_iteration_interest`
|
|
|
|
* `bounded_iteration_interest`
|
2022-08-04 20:30:29 +03:00
|
|
|
|
|
|
|
Be sure to update `inputs/interest.in` with the desired inputs.
|
2023-07-20 04:04:09 +03:00
|
|
|
|
|
|
|
## Executing the Program
|
|
|
|
|
|
|
|
To execute this program, run:
|
|
|
|
```bash
|
2023-09-29 20:00:07 +03:00
|
|
|
leo execute <function_name> <inputs>
|
2023-07-20 04:04:09 +03:00
|
|
|
```
|
|
|
|
where `<function_name>` is one of the following:
|
|
|
|
* `fixed_iteration_interest`
|
|
|
|
* `bounded_iteration_interest`
|
|
|
|
|
2023-09-29 20:00:07 +03:00
|
|
|
Be sure to update `inputs/interest.in` with the desired inputs.
|