Package com.imsl.test.example.finance
package com.imsl.test.example.finance
Financial computations examples.
-
ClassesClassDescriptionComputes the accrued interest on a bond paying semiannually.Computes the accrued interest on a bond paying at maturity.Computes the convexity of a 10 year bond.Computes the number of days from the beginning of the period to the settlement date.Computes the number of days in a coupon period.Computes the number of days between the settlement date and the next coupon date.Computes the next coupon date after the settlement date.Computes the number of payable coupons between the settlement date and the maturity date.Computes the previous coupon date before the settlement date.Computes the depreciation for the second accounting period.Computes the depreciation for the second accounting period.Computes the discount rate for a security.Computes the annual duration of a 10 year bond.Computes the discount rate of a 10 year bond.Computes the modified Macauley duration of a 10 year bond.Computes the price of a discounted bond.Computes the price of a 10 year bond paying semiannual interest.Computes the price of a bond with an odd long first coupon.Computes the price of a bond with an odd long last coupon and multiple coupon periods.Computes price of a bond with an odd long last coupon and one coupon period.Computes the price of a bond with an odd short first coupon.Computes the price of a bond with an odd short last coupon and multiple coupon periods.Computes the price of a bond with an odd short last coupon and one or less coupon periods to redemption.Computes the price of a bond paying interest at maturity.Computes the price of a discounted 1 year bond.Computes the amount to be received at maturity for a 10 year bond.Computes the bond-equivalent yield for a treasury bill.Computes the price of a 1 year treasury bill.Computes the yield for a 1 year treasury bill.Computes a specified year fraction.Computes the yield on a discounted 10 year bond.Computes the yield on a 10 year bond paying semiannually.Computes the yield of a bond with an odd long first coupon.Computes the yield of a bond with an odd long last coupon and multiple periods.Computes the yield of a bond with an odd long last coupon and one coupon period.Computes the yield of a bond with an odd short first coupon.Computes the yield of a bond with an odd short last coupon and multiple coupon periods.Computes the yield of a bond with an odd short last coupon and one or fewer coupon periods.Computes the yield on a bond paying at maturity.Computes the amount of interest paid in the first year of a 30 year fixed mortgage.Computes the amount of principal paid in the first year of a 30 year fixed rate mortgage.Computes the depreciation of an asset.Computes the depreciation of an asset using the double-declining balance method.Converts a fractional dollar price to a decimal price.Converts a decimal dollar price to a fractional dollar price.Computes the effective rate from a nominal rate compounded quarterly.Computes the future value of an investment.Computes the future value of an investment with scheduled rate of growth.Computes the interest due the second year of a loan.Computes the internal rate of return on an investment.Computes the modified internal rate of return on an investment.Computes the nominal interest rate.Computes the number of payment periods for a loan.Computes the net present value of a lottery prize using the stream of payments as input.Computes the payment due each year on a loan.Computes the payment on principal the first year of a loan.Computes the net present value of a lottery prize.Computes the interest rate on a loan.Computes the straight line depreciation of an asset.Computes sum-of-year's depreciation.Computes the depreciation of an asset using the variable-declining balance method.Computes the internal rate of return of an investment with variable schedule.Computes the net present value for a schedule of payments.