Class ThrusterMathLibrary
- Namespace
- NominalSystems.Classes
- Assembly
- NominalSystems.Classes.dll
[NominalSystems] A collection of mathematical functions
public static class ThrusterMathLibrary
- Inheritance
-
ThrusterMathLibrary
Methods
CompressibleAreaRatio(double, double)
Area ratio function for a compressible flow in the supersonic regime
public static double CompressibleAreaRatio(double gamma, double M = 1)
Parameters
Returns
- double
The Area Ratio
NewtonRaphson(Func<double, double>, double)
Generalized Newton Raphson method
public static double NewtonRaphson(Func<double, double> func, double delta = 1E-06)
Parameters
func
Func<double, double>Function passed in for root finding
delta
doubleAccuracy of root finding method
Returns
- double
Returns the root of the function
ThrusterMachExit(double, double)
Calculates the Exit Mach Number using the Area Ratio of throat and exit of the nozzle using Newton Raphson's method of root finding
public static double ThrusterMachExit(double gamma, double a_star)