# Finance.Util.Library.Functions 1.0.0

```dotnet add package Finance.Util.Library.Functions --version 1.0.0

```
```NuGet\Install-Package Finance.Util.Library.Functions -Version 1.0.0

```
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
```<PackageReference Include="Finance.Util.Library.Functions" Version="1.0.0" />

```
For projects that support PackageReference, copy this XML node into the project file to reference the package.
```paket add Finance.Util.Library.Functions --version 1.0.0

```
```#r "nuget: Finance.Util.Library.Functions, 1.0.0"

```
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
```// Install Finance.Util.Library.Functions as a Cake Addin

// Install Finance.Util.Library.Functions as a Cake Tool
#tool nuget:?package=Finance.Util.Library.Functions&version=1.0.0

```

## Finance Functions Library

This library written in C# contains functions from two key areas of finance: project appraisal, and stocks and bonds. Utilising techniques taught to me during my Finance, Risk, and Investment module at the University of Aberdeen, this library includes numerous functionalities that provide useful insights to users. The following functions are included in each domain:

### Project Appraisal

• Percetage to decimal conversion.
• Decimal to percentage conversion.
• Required rate of return on investment.
• Number of periods of an investment.
• Present value of an investment (normal and continuous).
• Future value of an investment (normal and continuous).
• Present value of annuities (ordinary and due).
• Future value of annuities (ordinary and due).
• Present value of perpetuities (ordinary and due).
• Effective annual rate (EAR).
• Real interest rate.
• Net present value of a project.
• Payback period of a project.
• Discounted payback period of a project.
• Accounting rate of return of a project.
• Internal rate of return of a project.
• Profitability index of a project.

### Stocks and Bonds

• Percetage to decimal conversion.
• Decimal to percentage conversion.
• Expected return of a security.
• Dividend yield of a security.
• Capital yield of a security.
• Present value of a stock.
• Future value of a stock.
• Present value of a stock using the dividend discount model.
• Present value of a stock using the zero growth dividend discount model.
• Present value of a stock using the constant growth dividend discount model.
• Present value of a bond.
• Holding period return of a bond.
• Return on a zero coupon bond.
• Average holding period return on a bond.
• Variance of return.
• Standard deviation of return.
• Portfolio return.
• Systematic risk.
• Abnormal return on investment.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.
Compatible target framework(s)
Included target framework(s) (in package)
• #### net6.0

• No dependencies.

### NuGet packages

This package is not used by any NuGet packages.

### GitHub repositories

This package is not used by any popular GitHub repositories.