Calculate Present Value Function
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-06.)
Calculate Present Value Function has 28 facts recorded in Dontopedia across 3 references, with 4 live disagreements.
Mostly:defines parameter(3), has docstring(3), sets variable(3)
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (8)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
definesFunctionDefines Function(2)
- Python Code Snippet
ex:python-code-snippet - Python Code Snippet 1
ex:python-code-snippet-1
assignedFromFunctionCallAssigned From Function Call(1)
- Present Value Variable
ex:present-value-variable
callsFunctionCalls Function(1)
- Python Code Snippet 1
ex:python-code-snippet-1
impliesCorrectCalculationImplies Correct Calculation(1)
- Output 87235 47
ex:output-87235-47
invokesFunctionInvokes Function(1)
- Python Code Snippet
ex:python-code-snippet
postedPythonCodePosted Python Code(1)
- Uncloseai Bot
ex:uncloseai-bot
resultsFromResults From(1)
- Output 87235 47
ex:output-87235-47
Other facts (28)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Defines Parameter | annual_payment = 7000 | [1] |
| Defines Parameter | discount_rate = 0.05 | [1] |
| Defines Parameter | years = 20 | [1] |
| Has Docstring | Calculate the present value of receiving $7,000 annually for 20 years at a 5% discount rate. | [1] |
| Has Docstring | Docstring Calculate Present Value | [2] |
| Has Docstring | Calculate the present value of receiving $7,000 annually for 20 years at a 5% discount rate. | [3] |
| Sets Variable | Discount Rate Variable | [2] |
| Sets Variable | Years Variable | [2] |
| Sets Variable | Annual Payment Variable | [2] |
| Defines Variable | Annual Payment Variable | [3] |
| Defines Variable | Discount Rate Variable | [3] |
| Defines Variable | Years Variable | [3] |
| Returns Float Type | float | [1] |
| Uses Formula | PV = PMT * (1 - (1 + r)^-n) / r | [1] |
| Implements Calculation | pv = annual_payment * (1 - (1 + discount_rate)**(-years)) / discount_rate | [1] |
| Rounds to Decimal Places | 2 | [1] |
| Models Financial Concept | Present Value Annuity | [2] |
| Is Annuity Formula | Present Value Annuity | [2] |
| Handles Annuity | 20 Year Annuity | [2] |
| Computes | Pv Variable | [2] |
| Necessitates Positive Rate | Discount Rate Variable | [2] |
| Rounds to | 2 | [2] |
| Has Name | calculate_present_value | [3] |
| Has Return Description | The present value rounded to two decimal places | [3] |
| Has Return Type | float | [3] |
| Implements Formula | Annuity Present Value Formula | [3] |
| Calculates Variable | Pv Variable | [3] |
| Returns Expression | Return Round Expression | [3] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (3)
ctx:discord/blah/unturf/part-9ctx:discord/blah/unturf/part-10ctx:discord/blah/unturf/10- full textunturf-10text/plain2 KB
doc:agent/unturf-10/f0722190-2e22-46a0-8eb4-4f1d35cbd7d8Show excerpt
[2025-12-01 17:16] foxhop.: ```python def calculate_present_value(): """ Calculate the present value of receiving $7,000 annually for 20 years at a 5% discount rate. Returns: float: The present value rounded to two …
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.