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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MathHelper.io
This is a math nuget package used to simplify a lot of mathematical operations and formulas
- IsOdd - checks if a number is odd or not
- IsEven - checks if a number is even or not
- IsPrime - checks if a number is prime or not
- Add - adds two numbers. Ex: 2.Add(3) = 5
- Sum - adds a list of numbers. Ex: {1,2,3,4,5,6,7,8,9,10}.Sum() = 55
- Substract - substracts two numbers. Ex: 7.Subsctract(10) = -3
- Average - find the average of multiple numbers.
- WeightedAverage - finds the average using the weights of respective values
AREA
- Square - A = s^2; where s = any side of the square
- Rectangle - A = l*w; where l = length and w = width
- Parallelogram - A = b*h; where b = base and h = height
- Triangle - A= 1/2bh; where b = base and h = height
- Circle - A = π*r^2; where π= 3.14 and r = radius
- Trapezoid - A = 1/2(b1 + b2)*h; where b1,b2 are the bases
- Sphere - S = 4πr^2; where s= Surface area
SURFACE AREA(SA)
- Cube - SA = 6*s^2; where s = any side
- Cylinder (lateral) - SA = 2πr*h; where π = 3.14 by default, r = radius, h = height
PERIMETER (P)
- Square - P = 4*s; where s = any side
- Rectangle - P = 2l + 2w; where l = length and w = width
- Triangle - P = s1 + s2 + s3; where s is a side
- AnyShape - P = the length of all shapes added together
- Circle (Circumference) - C = π*d; where π = 3.14 by default and d = diameter
VOLUME (V)
- Cube - V = s^3; where s = any side
- Rectangular - V = lwh; where l = length, w = width and h = height
- SquarePyramid - V = (1/3)b^2h; where b = base length, w = width and h = height
- Cylinder - V = πr^2h; where π = 3.14 by default, r = radius and h = height
- Cone - V = (1/3)πr^2*h; where π = 3.14 by default, r = radius and h = height
- Sphere - V = (4/3)πr^3; where r = radius and π = 3.14 by default
- RightCircularCylinder - V = πr^2h; where r = radius, v = volume and h = height.
FORMULAS/EQUATIONS
- DistanceBetweenTwoPoints - d = sqrt((x2-x1)^2 + (y2-y1)^2), where (x1,y1) and (x2,y2) are two points on a coordinate plane
- SlopeOfLine - m = (y2-y)/(x2-x1); where where (x1,y1) and (x2,y2) are two points on a coordinate plane
- QuadraticEquation - ax^2 + bx +c = 0; where a and b are coefficients and c is constant
- StandartEquationOfCircle - (x-h)^2 + (y-k)^2 = r^2; where r is the radius and (h,k) is the center
- QuadraticFormula - x = (-b +- sqrt(b^2 - 4ac))/(2a); where a and b are coefficients and c is constant
- PointSlopeEquation - y-y1 = m(x-x1); where m is the slope and the point is (x1,y1)
- SlopeInterceptEquation - y = mx +b; where m is the slope nd b is the y-intercept
Product | Versions 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.