Sets the current thrust (N) and isp (secs). Computes the mass flow rate using the rocket equation. Returns false on an error.
[Visual Basic .NET] |
---|
Public Function SetThrustAndIsp( _ ByVal Thrust As Double, _ ByVal Isp As Double _ ) As Boolean |
- Thrust
- Must be non-negative.
- Isp
- Must be non-negative.
Returns false if either input parameter is negative.
Computes mass loss rate from the rocket equation