The SUVAT Equations Library is a C# library that provides methods for calculating displacement, initial velocity, final velocity, and acceleration using the SUVAT equations of motion. This library simplifies the process of performing kinematic calculations in C# applications.
You can install the SUVAT Operations Library via NuGet Package Manager.
To use the SUVAT Operations Library in your C# project, follow these steps:
- Install the NuGet package:
dotnet add package DianaBorro.Physics.SUVATEquations --version 1.0.1
- Import the
SUVATNuGet
namespace in your C# file.
using System;
using SUVATNuGet;
class Program
{
static void Main(string[] args)
{
SUVATEquations suvat = new SUVATEquations();
// Calculate displacement using initial velocity, time, and final velocity
double displacement = suvat.DisplacementUTV(5.0, 2.0, 10.0);
Console.WriteLine("Displacement: " + displacement);
// Calculate final velocity using displacement, initial velocity, and acceleration
double finalVelocity = suvat.FinalVelocityVAS(0.0, 9.8, 10.0);
Console.WriteLine("Final Velocity: " + finalVelocity);
}
}