Professional Documents
Culture Documents
hw1 101071010
hw1 101071010
101071010
Write a function
pvvar,pvfix
PVVAR
PV of varying cash flow
PV=pvvar(Cashflow, yield)
PVFIX
PV of fix cash flow
PV=pvfix(Rate,Periods,Payment, ExtraPayment,Due);
Rate
Periods
Paymentcashflow
ExtraPaymentcashflow
Due(01)
4%0cashflow
20000?
Function
PVVAR
PVFIX
Call Price
Put Price