Quantcast
Typesetting math: 100%

Imperial Metric and Astronomical Lengths

Last modified by
on
Nov 13, 2023, 1:14:58 PM
Created by
on
Oct 9, 2023, 2:51:53 PM
=Imperial Metric and Astronomical Lengths
(LD)Length or Distance
Tags
UUID
627da9b2-66b3-11ee-b65f-bc764e203090

The Imperial, Metric and Astronomical Lengths function evaluates an input length of any units and returns the comparable value in largest possible units that are not fractions in Imperial Units, Metric Units and Astronomical Units.

INSTRUCTIONS: Choose units and enter the following:

  • (LD) Length or Distance

Imperial and Metric Units (IMU):  The calculator returns the length in the largest non-fractional Imperial and Metric units, and if large enough, astronomical units (see below).

The Math / Science

This function returns a list with the equivalent value of LD in both Imperial and Metric units where the output unit is the smallest unit that is not a fraction.  If L is great enough, larger than a light minute, the calculator also returns L in astronomical units.  

Metric Units

  • nm - nanometer
  • mm - millimeter
  • cm - centimeter
  • m - meter
  • km - kilometer

Imperial Units

  • mil - mils are 1/1000th of an inch
  • in - inch
  • ft - feet
  • yd - yards
  • mi - miles

Astronomy Distance Units

Astronomical Unit (au): Within our solar system, a common measure of distance is au, which stands for astronomical units.  A single astronomical unit is the mean distance from the Sun's center to the center of the Earth. The following picture is NOT to scale.

Astronomical Unit (au) Distance from Sun (au)
  • 149,597,870.691 kilometers
  •   92,955,807.267 miles
  • (0.39 au) Mercury
  • (0.72 au) Venus
  • (1.0 au) Earth
  • (1.52 au) Mars
  • (5.20 au) Jupiter
  • (9.57 au) Saturn
  • (19.16 au) Uranus
  • (30.18 au) Neptune
  • (39.48 au) Pluto

Light Travel in Time: Light is a primary observable when studying celestial bodies.  For this reason, the distance to these objects are measured in the amount of time it would take light to travel from there to the Earth.  We can say that an object is one light-year away, and that means that the object is at a distance where it took an entire year for light from the object to travel to Earth.  Since the speed of light is 299,792,458.0 meters per second, one can compute the distance equal to a light year as follows:

1 light year = 299,792,458.0 (meters / second) x 31,536,000 (seconds / year) = 9,460,528,405,000,000 meters

The same exercise can be used for light traveling shorter periods of times, light seconds, light minutes, light hours and light days.  Since even these units are not enough when computing distances across the universe, there is also a light relative distance of kilo-light years (1000 light years), or the distance light travels in a thousand years!

Light Second Light Minute Light Hour Light Day Light Year Kilo-Light Year

 299,786 km

186,278 miles

 0.002 au

 17,987,163 km

11,176,705 miles

0.12023 au

1,079,229,797 km

670,602,305 miles

7.214 au

25,901,515,140 km

16,094,455,343 miles

173.14 au

9,460,528,405,000 km

5,878,499,814,210 miles

63,240 au

0.306 parsecs 

9,460,528,405,000,000 km

5,878,499,814,210,000 miles

63,240,000 au

306 parsecs 

Angle Shift Seen from Earth: Because the Earth goes around the Sun, our observation of distant objects such as stars results in an angular shift when observed at opposite sides of the elliptical orbit.  This shift is used as the basis of a unit knows as a parsec.  A parsec was traditionally defined as the distance where one astronomical unit subtends an angle of one arcsecond.  A parsec was redefined in 2015 to 648000/π astronomical units.  Proxima Centauri, is the nearest star to the Sun and is approximately 1.3 parsecs (4.2 light-years) from the Sun. A mega-parsec is a million parsecs.

Parsec Mega-parsec
  • 30,856,770,000,000 kilometers
  • 19,173,507,963,493 miles
  • 206,264.7 au
  • 3.26 light years
  • 30,856,770,000,000,000,000 kilometers
  • 19,173,507,963,493,200,000 miles
  • 206,264,767,389 au
  • 3,261,632 light years

 

Sub Routine Methodology

To use this function to provide the optimal outputs, use the following code structure:

def IMAL = []
IMAL = execEquation("627da9b2-66b3-11ee-b65f-bc764e203090",L) //Imperial, Metric and Astronomical Lengths

IMAL.each{
  oP << it
  }
 


  • Comments
  • Attachments
  • Stats
No comments
This site uses cookies to give you the best, most relevant experience. By continuing to browse the site you are agreeing to our use of cookies.