calculate_zero_coupon_bond
Calculate the price of a zero-coupon bond that pays no interest and is sold at a discount. Determine its present value from face value, yield, and maturity.
Instructions
Price a zero-coupon bond. Price = FV / (1+r)^n. Zero-coupon bonds pay no periodic interest, sold at discount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ytm | Yes | ||
| face_value | Yes | ||
| years_to_maturity | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |