tmval.k_solver

tmval.growth.k_solver(f: Callable, fv: float, t: float) → float[source]

Solver to get the initial investment K, given a growth pattern and future value.

Parameters
  • f (Callable) – the growth pattern.

  • fv (float) – the future value.

  • t (float) – the time.

Returns

the initial investment, K

Return type

float