ktsu.io.Physics.Earth 1.0.0-alpha.1

Prefix Reserved
This is a prerelease version of ktsu.io.Physics.Earth.
dotnet add package ktsu.io.Physics.Earth --version 1.0.0-alpha.1                
NuGet\Install-Package ktsu.io.Physics.Earth -Version 1.0.0-alpha.1                
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="ktsu.io.Physics.Earth" Version="1.0.0-alpha.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ktsu.io.Physics.Earth --version 1.0.0-alpha.1                
#r "nuget: ktsu.io.Physics.Earth, 1.0.0-alpha.1"                
#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 ktsu.io.Physics.Earth as a Cake Addin
#addin nuget:?package=ktsu.io.Physics.Earth&version=1.0.0-alpha.1&prerelease

// Install ktsu.io.Physics.Earth as a Cake Tool
#tool nuget:?package=ktsu.io.Physics.Earth&version=1.0.0-alpha.1&prerelease                

ktsu.io.Physics.Earth

The ktsu.io.Physics.Earth library provides a set of classes and methods to work with Earth's physical properties and calculations, including gravity, radius, mass, and volume. It also offers methods for computing gravity at different altitudes and related geophysical quantities.

Features

  • Gravity at Sea Level: Earth.GravityAtSeaLevel
  • Earth's Radius, Diameter, and Circumference: Earth.Radius, Earth.Diameter, Earth.Circumference
  • Earth's Mass and Volume: Earth.Mass, Earth.Volume
  • Earth's Average Density: Earth.Density
  • Geophysical Calculations:
    • Gravity at Geometric and Geopotential Altitudes: Earth.GravityAtAltitude, Earth.GravityAtGeopotentialAltitude
    • Geopotential Altitude Calculation: Earth.GeopotentialAltitude
    • Reciprocal Relative Altitude Calculation: Earth.ReciprocalRelativeAltitude

Installation

To install the ktsu.io.Physics.Earth library, use the following command:

dotnet add package ktsu.io.Physics.Earth

Usage

Basic Properties

using ktsu.io.Physics.Earth;
using ktsu.io.PhysicalQuantity.Length;

var gravityAtSeaLevel = Earth.GravityAtSeaLevel;
var earthRadius = Earth.Radius;
var earthDiameter = Earth.Diameter;
var earthMass = Earth.Mass;
var earthVolume = Earth.Volume;
var earthDensity = Earth.Density;

Geophysical Calculations

Gravity at Altitude
var altitude = 1000.Meters();
var gravityAtAltitude = Earth.GravityAtAltitude(altitude);
Gravity at Geopotential Altitude
var geopotentialAltitude = 1000.Meters();
var gravityAtGeopotentialAltitude = Earth.GravityAtGeopotentialAltitude(geopotentialAltitude);
Geopotential Altitude Calculation
var geometricAltitude = 1000.Meters();
var geopotentialAltitude = Earth.GeopotentialAltitude(geometricAltitude);
Reciprocal Relative Altitude Calculation
var altitude = 1000.Meters();
var reciprocalRelativeAltitude = Earth.ReciprocalRelativeAltitude(altitude);

Contributing

Contributions are welcome! Please fork the repository and submit pull requests.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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 is compatible.  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)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0-alpha.1 245 6/17/2024