Skip to content

Library for calculating displacement, initial velocity, final velocity, and acceleration using the SUVAT equations of motion.

License

Notifications You must be signed in to change notification settings

DianaBorro/SUVATNuGet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SUVAT Equations Library

License: MIT GitHub last commit

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.

Installation

You can install the SUVAT Operations Library via NuGet Package Manager.

Usage

To use the SUVAT Operations Library in your C# project, follow these steps:

  1. Install the NuGet package: dotnet add package DianaBorro.Physics.SUVATEquations --version 1.0.1
  2. Import the SUVATNuGet namespace in your C# file.

Example

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);
    }
}

About

Library for calculating displacement, initial velocity, final velocity, and acceleration using the SUVAT equations of motion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages