Skip to content

Instantly share code, notes, and snippets.

@mikedamage
Created January 21, 2012 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikedamage/1654051 to your computer and use it in GitHub Desktop.
Save mikedamage/1654051 to your computer and use it in GitHub Desktop.
1 Lightyear in Minutes - from Wolfram Alpha API
<?xml version='1.0' encoding='UTF-8'?>
<queryresult success='true'
error='false'
numpods='4'
datatypes=''
timedout=''
timing='2.038'
parsetiming='0.279'
parsetimedout='false'
recalculate=''
id='MSP65491a018f9ad972g5h6000015h8dibbd3e4f102&amp;s=26'
related='http://www4c.wolframalpha.com/api/v2/relatedQueries.jsp?id=MSP65501a018f9ad972g5h60000368e6g6203032b8c&amp;s=26'
version='2.1'>
<pod title='Input interpretation'
scanner='Identity'
id='Input'
position='100'
error='false'
numsubpods='1'>
<subpod title=''>
<plaintext>convert 1 ly (light year) to minutes</plaintext>
<img src='http://www4c.wolframalpha.com/Calculate/MSP/MSP65511a018f9ad972g5h6000057b364a7bbci3c96?MSPStoreType=image/gif&amp;s=26'
alt='convert 1 ly (light year) to minutes'
title='convert 1 ly (light year) to minutes'
width='220'
height='18' />
</subpod>
</pod>
<pod title='Result'
scanner='Unit'
id='Result'
position='200'
error='false'
numsubpods='1'
primary='true'>
<subpod title=''
primary='true'>
<plaintext> ly (light years) and minutes are not compatible.</plaintext>
<img src='http://www4c.wolframalpha.com/Calculate/MSP/MSP65521a018f9ad972g5h600002b2h0h71ighgdde6?MSPStoreType=image/gif&amp;s=26'
alt=' ly (light years) and minutes are not compatible.'
title=' ly (light years) and minutes are not compatible.'
width='309'
height='18' />
</subpod>
</pod>
<pod title='Corresponding quantities for 1 ly'
scanner='Unit'
id='CorrespondingQuantity'
position='300'
error='false'
numsubpods='2'>
<subpod title=''>
<plaintext>Light travel time t in vacuum from t = x/c:
| 525960 minutes
| 1 year</plaintext>
<img src='http://www4c.wolframalpha.com/Calculate/MSP/MSP65531a018f9ad972g5h600001c244f330701d4ia?MSPStoreType=image/gif&amp;s=26'
alt='Light travel time t in vacuum from t = x/c:
| 525960 minutes
| 1 year'
title='Light travel time t in vacuum from t = x/c:
| 525960 minutes
| 1 year'
width='282'
height='61' />
</subpod>
<subpod title=''>
<plaintext>Light travel time t in an optical fiber t = 1.48x/c:
| 778421 minutes
| 1.5 years</plaintext>
<img src='http://www4c.wolframalpha.com/Calculate/MSP/MSP65541a018f9ad972g5h600005b7e51abfah25c01?MSPStoreType=image/gif&amp;s=26'
alt='Light travel time t in an optical fiber t = 1.48x/c:
| 778421 minutes
| 1.5 years'
title='Light travel time t in an optical fiber t = 1.48x/c:
| 778421 minutes
| 1.5 years'
width='320'
height='61' />
</subpod>
</pod>
<pod title='Unit information'
scanner='Unit'
id='UnitInformation'
position='400'
error='false'
numsubpods='1'>
<subpod title=''>
<plaintext>unit | dimensions | common physical quantity
ly (light years) | [length] | length
minutes | [time] | time</plaintext>
<img src='http://www4c.wolframalpha.com/Calculate/MSP/MSP65551a018f9ad972g5h600003g0idec023g488c3?MSPStoreType=image/gif&amp;s=26'
alt='unit | dimensions | common physical quantity
ly (light years) | [length] | length
minutes | [time] | time'
title='unit | dimensions | common physical quantity
ly (light years) | [length] | length
minutes | [time] | time'
width='413'
height='92' />
</subpod>
</pod>
<assumptions count='1'>
<assumption type='Unit'
word='minutes'
count='2'>
<value name='Minutes'
desc='minutes of time'
input='UnitClash_*minutes.*Minutes--' />
<value name='ArcMinutes'
desc='minutes of arc'
input='UnitClash_*minutes.*ArcMinutes--' />
</assumption>
</assumptions>
</queryresult>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment