Viewing a single comment thread. View all comments

Max-Phallus t1_j0gk2us wrote

If anyone is interested, gravity on the IIS is still 88.33% of earth's gravity. The IIS orbits around 408KM from sea level.

Here is a PowerShell script I wrote that will calculate earth's gravity at any given altitude (if you have windows, you can open it and copy&paste it in):

function Get-GravityAtAltitude
{
	[CmdletBinding()]
	Param
	(
		[double]$AltitudeKm,
		[switch]$ReturnStats
	)
	BEGIN
	{
		$EarthParams = @{
			MeanRadius = 6371.009 # KM
			SeaLevelGravity = 9.80665 # m/s^2
		}
	}
	PROCESS
	{
		$AltLevelGravity = $EarthParams['SeaLevelGravity'] * [Math]::Pow($EarthParams['MeanRadius'] / ($EarthParams['MeanRadius'] + $AltitudeKm), 2)
		if($ReturnStats.IsPresent)
		{
			$EarthParams.Add('Altitude', $AltitudeKm)
			$EarthParams.Add('AltLevelGravity', $AltLevelGravity)
			$EarthParams.Add('GsAtGravity', ($AltLevelGravity / $EarthParams['SeaLevelGravity']).ToString('.00%'))
			return [PsCustomObject]$EarthParams
		}
		else
		{
			return $AltLevelGravity
		}
	}
	END {}
}
Get-GravityAtAltitude -ReturnStats -AltitudeKm 408
7