MathHelper.io 1.0.0.3

dotnet add package MathHelper.io --version 1.0.0.3
NuGet\Install-Package MathHelper.io -Version 1.0.0.3
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="MathHelper.io" Version="1.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MathHelper.io --version 1.0.0.3
#r "nuget: MathHelper.io, 1.0.0.3"
#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 MathHelper.io as a Cake Addin
#addin nuget:?package=MathHelper.io&version=1.0.0.3

// Install MathHelper.io as a Cake Tool
#tool nuget:?package=MathHelper.io&version=1.0.0.3

MathHelper.io

This is a math nuget package used to simplify a lot of mathematical operations and formulas

  1. IsOdd - checks if a number is odd or not
  2. IsEven - checks if a number is even or not
  3. IsPrime - checks if a number is prime or not
  4. Add - adds two numbers. Ex: 2.Add(3) = 5
  5. Sum - adds a list of numbers. Ex: {1,2,3,4,5,6,7,8,9,10}.Sum() = 55
  6. Substract - substracts two numbers. Ex: 7.Subsctract(10) = -3
  7. Average - find the average of multiple numbers.
  8. WeightedAverage - finds the average using the weights of respective values

AREA

  1. Square - A = s^2; where s = any side of the square
  2. Rectangle - A = l*w; where l = length and w = width
  3. Parallelogram - A = b*h; where b = base and h = height
  4. Triangle - A= 1/2bh; where b = base and h = height
  5. Circle - A = π*r^2; where π= 3.14 and r = radius
  6. Trapezoid - A = 1/2(b1 + b2)*h; where b1,b2 are the bases
  7. Sphere - S = 4πr^2; where s= Surface area

SURFACE AREA(SA)

  1. Cube - SA = 6*s^2; where s = any side
  2. Cylinder (lateral) - SA = 2πr*h; where π = 3.14 by default, r = radius, h = height

PERIMETER (P)

  1. Square - P = 4*s; where s = any side
  2. Rectangle - P = 2l + 2w; where l = length and w = width
  3. Triangle - P = s1 + s2 + s3; where s is a side
  4. AnyShape - P = the length of all shapes added together
  5. Circle (Circumference) - C = π*d; where π = 3.14 by default and d = diameter

VOLUME (V)

  1. Cube - V = s^3; where s = any side
  2. Rectangular - V = lwh; where l = length, w = width and h = height
  3. SquarePyramid - V = (1/3)b^2h; where b = base length, w = width and h = height
  4. Cylinder - V = πr^2h; where π = 3.14 by default, r = radius and h = height
  5. Cone - V = (1/3)πr^2*h; where π = 3.14 by default, r = radius and h = height
  6. Sphere - V = (4/3)πr^3; where r = radius and π = 3.14 by default
  7. RightCircularCylinder - V = πr^2h; where r = radius, v = volume and h = height.

FORMULAS/EQUATIONS

  1. DistanceBetweenTwoPoints - d = sqrt((x2-x1)^2 + (y2-y1)^2), where (x1,y1) and (x2,y2) are two points on a coordinate plane
  2. SlopeOfLine - m = (y2-y)/(x2-x1); where where (x1,y1) and (x2,y2) are two points on a coordinate plane
  3. QuadraticEquation - ax^2 + bx +c = 0; where a and b are coefficients and c is constant
  4. StandartEquationOfCircle - (x-h)^2 + (y-k)^2 = r^2; where r is the radius and (h,k) is the center
  5. QuadraticFormula - x = (-b +- sqrt(b^2 - 4ac))/(2a); where a and b are coefficients and c is constant
  6. PointSlopeEquation - y-y1 = m(x-x1); where m is the slope and the point is (x1,y1)
  7. SlopeInterceptEquation - y = mx +b; where m is the slope nd b is the y-intercept
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 2.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.

Version Downloads Last updated
1.0.0.3 1,122 4/2/2018
1.0.0.2 921 4/2/2018
1.0.0.1 923 3/31/2018
1.0.0 944 3/31/2018