I have developed a Microsoft Access application. In this application I need to be able to generate a Yield to Maturity for a corporate bond with values that reside on a form and are not stored. What I am looking for is a function similar to the Yield function in Excel. The users input the price, maturity date, settlement date, and coupon rate. The result is a Yield to Maturity similar to Excel that will output on my Access form.
A working function with complete documentation and Access examples of implementation.
## Deadline information
This project must be done within one week.