How to get Planck length in meters to 6 decimal placesWay to improve “show me this decimal number to M places, don't use scientific notation”?How to display a different number of significant digits in each column of TableForm output?How to get approximate (decimal) output for ArcCosh[e^x]Physical quantities to decimal powerIs it reasonable to have both TemperatureUnit and TemperatureDifferenceUnit?Plotting with units: emits error and gives incorrect plotRemove leading zero and trailing decimal from display of numberRemove decimal point from N functionMax[] is being inconsistent when applied to time seriesHow can I add units to variables inside Manipulate?

Typesetting numbers above, below, left, and right of a symbol

Why is Searing Smite not listed in the Roll20 Spell books?

Why don't short runways use ramps for takeoff?

A conjectural trigonometric identity

Balancing Humanoid fantasy races: Elves

What is the term for completing a route uncleanly?

How does Asimov's second law deal with contradictory orders from different people?

What is my clock telling me to do?

Gold Battle KoTH

How to innovate in OR

Should I intervene when a colleague in a different department makes students run laps as part of their grade?

Why does an inductor oppose the change in current (magnetic field)?

In the Schrödinger equation, can I have a Hamiltonian without a kinetic term?

Reducing the time for rolling hash

Adding a (stair/baby) gate without facing walls

NULL value causes blank row in SELECT results for text concatenation

If I buy and download a game through second Nintendo account do I own it on my main account too?

Numerically Stable IIR filter

How can a class have multiple methods without breaking the single responsibility principle

Applying for mortgage when living together but only one will be on the mortgage

How do discovery writers hibernate?

Easy way to get process information from a window

Best practice for keeping temperature constant during film development at home

Given mean and SD, can we approximate the underlying distribution?



How to get Planck length in meters to 6 decimal places


Way to improve “show me this decimal number to M places, don't use scientific notation”?How to display a different number of significant digits in each column of TableForm output?How to get approximate (decimal) output for ArcCosh[e^x]Physical quantities to decimal powerIs it reasonable to have both TemperatureUnit and TemperatureDifferenceUnit?Plotting with units: emits error and gives incorrect plotRemove leading zero and trailing decimal from display of numberRemove decimal point from N functionMax[] is being inconsistent when applied to time seriesHow can I add units to variables inside Manipulate?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2












$begingroup$


I want Mathematica to format quantities to more decimal places than the default.



For example I have tried



NumberForm[
N[
UnitConvert[Quantity["PlanckLength"] , "Meters" ]
,6]
,6, 6]


enter image description here



This is unfortunately incorrect.



I also tried:



QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters" ], LongForm"]


but this produces an ugly representation:



enter image description here



I want it to produce an output like the first result (except correct to 6 decimal places).



From Wikipedia and other resources on the web it seems that this quantity is known to 6 decimal places (by default Mathematica truncates it to 4 decimal places.)



enter image description here










share|improve this question











$endgroup$









  • 4




    $begingroup$
    The Planck length depends on the gravitational constant, which isn't known to ten digits. So even if you forced Mathematica somehow to give you ten digits, they would be meaningless because physically unknown (smaller than the current error bar on the Planck length).
    $endgroup$
    – Roman
    8 hours ago










  • $begingroup$
    I'm voting to close this question as off-topic because it arises from a misconception of physical measurement uncertainty.
    $endgroup$
    – Roman
    8 hours ago











  • $begingroup$
    It seems to be known to 6 decimal places on wikipedia. I will change my question from 10 to 6. (Mathematica only formats it to 4 decimal places)
    $endgroup$
    – Conor Cosnett
    8 hours ago










  • $begingroup$
    This is an instance of a more general question regarding Mathematica's default output form for quantities with units. I chose 10 to accentuate my point. Not because I was interested in knowing the Planck length to 10 decimal places. I hope it is a valid question with 6 decimal places.
    $endgroup$
    – Conor Cosnett
    7 hours ago


















2












$begingroup$


I want Mathematica to format quantities to more decimal places than the default.



For example I have tried



NumberForm[
N[
UnitConvert[Quantity["PlanckLength"] , "Meters" ]
,6]
,6, 6]


enter image description here



This is unfortunately incorrect.



I also tried:



QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters" ], LongForm"]


but this produces an ugly representation:



enter image description here



I want it to produce an output like the first result (except correct to 6 decimal places).



From Wikipedia and other resources on the web it seems that this quantity is known to 6 decimal places (by default Mathematica truncates it to 4 decimal places.)



enter image description here










share|improve this question











$endgroup$









  • 4




    $begingroup$
    The Planck length depends on the gravitational constant, which isn't known to ten digits. So even if you forced Mathematica somehow to give you ten digits, they would be meaningless because physically unknown (smaller than the current error bar on the Planck length).
    $endgroup$
    – Roman
    8 hours ago










  • $begingroup$
    I'm voting to close this question as off-topic because it arises from a misconception of physical measurement uncertainty.
    $endgroup$
    – Roman
    8 hours ago











  • $begingroup$
    It seems to be known to 6 decimal places on wikipedia. I will change my question from 10 to 6. (Mathematica only formats it to 4 decimal places)
    $endgroup$
    – Conor Cosnett
    8 hours ago










  • $begingroup$
    This is an instance of a more general question regarding Mathematica's default output form for quantities with units. I chose 10 to accentuate my point. Not because I was interested in knowing the Planck length to 10 decimal places. I hope it is a valid question with 6 decimal places.
    $endgroup$
    – Conor Cosnett
    7 hours ago














2












2








2


1



$begingroup$


I want Mathematica to format quantities to more decimal places than the default.



For example I have tried



NumberForm[
N[
UnitConvert[Quantity["PlanckLength"] , "Meters" ]
,6]
,6, 6]


enter image description here



This is unfortunately incorrect.



I also tried:



QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters" ], LongForm"]


but this produces an ugly representation:



enter image description here



I want it to produce an output like the first result (except correct to 6 decimal places).



From Wikipedia and other resources on the web it seems that this quantity is known to 6 decimal places (by default Mathematica truncates it to 4 decimal places.)



enter image description here










share|improve this question











$endgroup$




I want Mathematica to format quantities to more decimal places than the default.



For example I have tried



NumberForm[
N[
UnitConvert[Quantity["PlanckLength"] , "Meters" ]
,6]
,6, 6]


enter image description here



This is unfortunately incorrect.



I also tried:



QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters" ], LongForm"]


but this produces an ugly representation:



enter image description here



I want it to produce an output like the first result (except correct to 6 decimal places).



From Wikipedia and other resources on the web it seems that this quantity is known to 6 decimal places (by default Mathematica truncates it to 4 decimal places.)



enter image description here







output-formatting units






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago









m_goldberg

90.8k8 gold badges75 silver badges204 bronze badges




90.8k8 gold badges75 silver badges204 bronze badges










asked 8 hours ago









Conor CosnettConor Cosnett

3,49010 silver badges31 bronze badges




3,49010 silver badges31 bronze badges










  • 4




    $begingroup$
    The Planck length depends on the gravitational constant, which isn't known to ten digits. So even if you forced Mathematica somehow to give you ten digits, they would be meaningless because physically unknown (smaller than the current error bar on the Planck length).
    $endgroup$
    – Roman
    8 hours ago










  • $begingroup$
    I'm voting to close this question as off-topic because it arises from a misconception of physical measurement uncertainty.
    $endgroup$
    – Roman
    8 hours ago











  • $begingroup$
    It seems to be known to 6 decimal places on wikipedia. I will change my question from 10 to 6. (Mathematica only formats it to 4 decimal places)
    $endgroup$
    – Conor Cosnett
    8 hours ago










  • $begingroup$
    This is an instance of a more general question regarding Mathematica's default output form for quantities with units. I chose 10 to accentuate my point. Not because I was interested in knowing the Planck length to 10 decimal places. I hope it is a valid question with 6 decimal places.
    $endgroup$
    – Conor Cosnett
    7 hours ago













  • 4




    $begingroup$
    The Planck length depends on the gravitational constant, which isn't known to ten digits. So even if you forced Mathematica somehow to give you ten digits, they would be meaningless because physically unknown (smaller than the current error bar on the Planck length).
    $endgroup$
    – Roman
    8 hours ago










  • $begingroup$
    I'm voting to close this question as off-topic because it arises from a misconception of physical measurement uncertainty.
    $endgroup$
    – Roman
    8 hours ago











  • $begingroup$
    It seems to be known to 6 decimal places on wikipedia. I will change my question from 10 to 6. (Mathematica only formats it to 4 decimal places)
    $endgroup$
    – Conor Cosnett
    8 hours ago










  • $begingroup$
    This is an instance of a more general question regarding Mathematica's default output form for quantities with units. I chose 10 to accentuate my point. Not because I was interested in knowing the Planck length to 10 decimal places. I hope it is a valid question with 6 decimal places.
    $endgroup$
    – Conor Cosnett
    7 hours ago








4




4




$begingroup$
The Planck length depends on the gravitational constant, which isn't known to ten digits. So even if you forced Mathematica somehow to give you ten digits, they would be meaningless because physically unknown (smaller than the current error bar on the Planck length).
$endgroup$
– Roman
8 hours ago




$begingroup$
The Planck length depends on the gravitational constant, which isn't known to ten digits. So even if you forced Mathematica somehow to give you ten digits, they would be meaningless because physically unknown (smaller than the current error bar on the Planck length).
$endgroup$
– Roman
8 hours ago












$begingroup$
I'm voting to close this question as off-topic because it arises from a misconception of physical measurement uncertainty.
$endgroup$
– Roman
8 hours ago





$begingroup$
I'm voting to close this question as off-topic because it arises from a misconception of physical measurement uncertainty.
$endgroup$
– Roman
8 hours ago













$begingroup$
It seems to be known to 6 decimal places on wikipedia. I will change my question from 10 to 6. (Mathematica only formats it to 4 decimal places)
$endgroup$
– Conor Cosnett
8 hours ago




$begingroup$
It seems to be known to 6 decimal places on wikipedia. I will change my question from 10 to 6. (Mathematica only formats it to 4 decimal places)
$endgroup$
– Conor Cosnett
8 hours ago












$begingroup$
This is an instance of a more general question regarding Mathematica's default output form for quantities with units. I chose 10 to accentuate my point. Not because I was interested in knowing the Planck length to 10 decimal places. I hope it is a valid question with 6 decimal places.
$endgroup$
– Conor Cosnett
7 hours ago





$begingroup$
This is an instance of a more general question regarding Mathematica's default output form for quantities with units. I chose 10 to accentuate my point. Not because I was interested in knowing the Planck length to 10 decimal places. I hope it is a valid question with 6 decimal places.
$endgroup$
– Conor Cosnett
7 hours ago











2 Answers
2






active

oldest

votes


















5












$begingroup$

The 4.652... at the end of 1.61625500000000006684132`4.652207380644164*^-35 should tell you that Mathematica knows this constant only up to 4.65 decimal digits.



You have to enforce first to treat the number as a higher precision number first:



NumberForm[
SetPrecision[
QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters"],
"LongForm"], 7],
7, 6]



1.616255 * 10^-35 meters







share|improve this answer









$endgroup$














  • $begingroup$
    what does "up to 4.65 digits" mean?
    $endgroup$
    – Conor Cosnett
    7 hours ago






  • 1




    $begingroup$
    Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
    $endgroup$
    – Henrik Schumacher
    7 hours ago










  • $begingroup$
    So the "4.65 digits" describe something like a "confidence interval"
    $endgroup$
    – Henrik Schumacher
    6 hours ago


















6












$begingroup$

You can use the relative uncertainty 1.1*10^-5 from the CODATA website you also referenced, and use Around to construct a value for the Planck length with uncertainty which has a much nicer formatting for showing the relevant digits of the number:



Around[UnitConvert[Quantity["PlanckLength"], "m"], Scaled[1.1*^-5]]



(1.616255±0.000018) x 10^-35 m




Since the relative uncertainty is also encoded in the precision of the number in Mathematica like Henrik pointed out, we can also use that to compute the relative uncertainty (the precision of the number representation in Mathematica not always coincides with the measurement uncertainty, but in this specific case it does):



Around[#, Scaled[10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.61626±0.00004) x 10^-35 m




which is for some reason off by a factor of two. Correcting that factor gives the same result as earlier:



Around[#, Scaled[0.5*10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.616255±0.000018) x 10^-35 m







share|improve this answer











$endgroup$










  • 1




    $begingroup$
    Ah, very neat to use Around. Have to rembember that (+1).
    $endgroup$
    – Henrik Schumacher
    7 hours ago













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "387"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f203116%2fhow-to-get-planck-length-in-meters-to-6-decimal-places%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









5












$begingroup$

The 4.652... at the end of 1.61625500000000006684132`4.652207380644164*^-35 should tell you that Mathematica knows this constant only up to 4.65 decimal digits.



You have to enforce first to treat the number as a higher precision number first:



NumberForm[
SetPrecision[
QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters"],
"LongForm"], 7],
7, 6]



1.616255 * 10^-35 meters







share|improve this answer









$endgroup$














  • $begingroup$
    what does "up to 4.65 digits" mean?
    $endgroup$
    – Conor Cosnett
    7 hours ago






  • 1




    $begingroup$
    Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
    $endgroup$
    – Henrik Schumacher
    7 hours ago










  • $begingroup$
    So the "4.65 digits" describe something like a "confidence interval"
    $endgroup$
    – Henrik Schumacher
    6 hours ago















5












$begingroup$

The 4.652... at the end of 1.61625500000000006684132`4.652207380644164*^-35 should tell you that Mathematica knows this constant only up to 4.65 decimal digits.



You have to enforce first to treat the number as a higher precision number first:



NumberForm[
SetPrecision[
QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters"],
"LongForm"], 7],
7, 6]



1.616255 * 10^-35 meters







share|improve this answer









$endgroup$














  • $begingroup$
    what does "up to 4.65 digits" mean?
    $endgroup$
    – Conor Cosnett
    7 hours ago






  • 1




    $begingroup$
    Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
    $endgroup$
    – Henrik Schumacher
    7 hours ago










  • $begingroup$
    So the "4.65 digits" describe something like a "confidence interval"
    $endgroup$
    – Henrik Schumacher
    6 hours ago













5












5








5





$begingroup$

The 4.652... at the end of 1.61625500000000006684132`4.652207380644164*^-35 should tell you that Mathematica knows this constant only up to 4.65 decimal digits.



You have to enforce first to treat the number as a higher precision number first:



NumberForm[
SetPrecision[
QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters"],
"LongForm"], 7],
7, 6]



1.616255 * 10^-35 meters







share|improve this answer









$endgroup$



The 4.652... at the end of 1.61625500000000006684132`4.652207380644164*^-35 should tell you that Mathematica knows this constant only up to 4.65 decimal digits.



You have to enforce first to treat the number as a higher precision number first:



NumberForm[
SetPrecision[
QuantityForm[UnitConvert[Quantity["PlanckLength"], "Meters"],
"LongForm"], 7],
7, 6]



1.616255 * 10^-35 meters








share|improve this answer












share|improve this answer



share|improve this answer










answered 7 hours ago









Henrik SchumacherHenrik Schumacher

66.2k5 gold badges94 silver badges183 bronze badges




66.2k5 gold badges94 silver badges183 bronze badges














  • $begingroup$
    what does "up to 4.65 digits" mean?
    $endgroup$
    – Conor Cosnett
    7 hours ago






  • 1




    $begingroup$
    Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
    $endgroup$
    – Henrik Schumacher
    7 hours ago










  • $begingroup$
    So the "4.65 digits" describe something like a "confidence interval"
    $endgroup$
    – Henrik Schumacher
    6 hours ago
















  • $begingroup$
    what does "up to 4.65 digits" mean?
    $endgroup$
    – Conor Cosnett
    7 hours ago






  • 1




    $begingroup$
    Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
    $endgroup$
    – Henrik Schumacher
    7 hours ago










  • $begingroup$
    So the "4.65 digits" describe something like a "confidence interval"
    $endgroup$
    – Henrik Schumacher
    6 hours ago















$begingroup$
what does "up to 4.65 digits" mean?
$endgroup$
– Conor Cosnett
7 hours ago




$begingroup$
what does "up to 4.65 digits" mean?
$endgroup$
– Conor Cosnett
7 hours ago




1




1




$begingroup$
Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
$endgroup$
– Henrik Schumacher
7 hours ago




$begingroup$
Well, as you might know, floating point numbers are actually stored as binary numbers. "up to 4.65 digits" means that the mantissa stores a certain number of binary digits that leads converts to something close to 4.65 digits. If I am not mistaken, this corresponds to something like 15 to 16 binary digits. But actually, Mathematica's finite precision numbers consist of a number (e.g. 1.61625500000000006684132) and a diameter of an interval (e.g. 10^-4.652207380644164 times the number) in which the actuall value is believed to lie in.
$endgroup$
– Henrik Schumacher
7 hours ago












$begingroup$
So the "4.65 digits" describe something like a "confidence interval"
$endgroup$
– Henrik Schumacher
6 hours ago




$begingroup$
So the "4.65 digits" describe something like a "confidence interval"
$endgroup$
– Henrik Schumacher
6 hours ago













6












$begingroup$

You can use the relative uncertainty 1.1*10^-5 from the CODATA website you also referenced, and use Around to construct a value for the Planck length with uncertainty which has a much nicer formatting for showing the relevant digits of the number:



Around[UnitConvert[Quantity["PlanckLength"], "m"], Scaled[1.1*^-5]]



(1.616255±0.000018) x 10^-35 m




Since the relative uncertainty is also encoded in the precision of the number in Mathematica like Henrik pointed out, we can also use that to compute the relative uncertainty (the precision of the number representation in Mathematica not always coincides with the measurement uncertainty, but in this specific case it does):



Around[#, Scaled[10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.61626±0.00004) x 10^-35 m




which is for some reason off by a factor of two. Correcting that factor gives the same result as earlier:



Around[#, Scaled[0.5*10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.616255±0.000018) x 10^-35 m







share|improve this answer











$endgroup$










  • 1




    $begingroup$
    Ah, very neat to use Around. Have to rembember that (+1).
    $endgroup$
    – Henrik Schumacher
    7 hours ago















6












$begingroup$

You can use the relative uncertainty 1.1*10^-5 from the CODATA website you also referenced, and use Around to construct a value for the Planck length with uncertainty which has a much nicer formatting for showing the relevant digits of the number:



Around[UnitConvert[Quantity["PlanckLength"], "m"], Scaled[1.1*^-5]]



(1.616255±0.000018) x 10^-35 m




Since the relative uncertainty is also encoded in the precision of the number in Mathematica like Henrik pointed out, we can also use that to compute the relative uncertainty (the precision of the number representation in Mathematica not always coincides with the measurement uncertainty, but in this specific case it does):



Around[#, Scaled[10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.61626±0.00004) x 10^-35 m




which is for some reason off by a factor of two. Correcting that factor gives the same result as earlier:



Around[#, Scaled[0.5*10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.616255±0.000018) x 10^-35 m







share|improve this answer











$endgroup$










  • 1




    $begingroup$
    Ah, very neat to use Around. Have to rembember that (+1).
    $endgroup$
    – Henrik Schumacher
    7 hours ago













6












6








6





$begingroup$

You can use the relative uncertainty 1.1*10^-5 from the CODATA website you also referenced, and use Around to construct a value for the Planck length with uncertainty which has a much nicer formatting for showing the relevant digits of the number:



Around[UnitConvert[Quantity["PlanckLength"], "m"], Scaled[1.1*^-5]]



(1.616255±0.000018) x 10^-35 m




Since the relative uncertainty is also encoded in the precision of the number in Mathematica like Henrik pointed out, we can also use that to compute the relative uncertainty (the precision of the number representation in Mathematica not always coincides with the measurement uncertainty, but in this specific case it does):



Around[#, Scaled[10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.61626±0.00004) x 10^-35 m




which is for some reason off by a factor of two. Correcting that factor gives the same result as earlier:



Around[#, Scaled[0.5*10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.616255±0.000018) x 10^-35 m







share|improve this answer











$endgroup$



You can use the relative uncertainty 1.1*10^-5 from the CODATA website you also referenced, and use Around to construct a value for the Planck length with uncertainty which has a much nicer formatting for showing the relevant digits of the number:



Around[UnitConvert[Quantity["PlanckLength"], "m"], Scaled[1.1*^-5]]



(1.616255±0.000018) x 10^-35 m




Since the relative uncertainty is also encoded in the precision of the number in Mathematica like Henrik pointed out, we can also use that to compute the relative uncertainty (the precision of the number representation in Mathematica not always coincides with the measurement uncertainty, but in this specific case it does):



Around[#, Scaled[10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.61626±0.00004) x 10^-35 m




which is for some reason off by a factor of two. Correcting that factor gives the same result as earlier:



Around[#, Scaled[0.5*10^-Precision[#]]] &[UnitConvert[Quantity["PlanckLength"], "m"]]



(1.616255±0.000018) x 10^-35 m








share|improve this answer














share|improve this answer



share|improve this answer








edited 7 hours ago

























answered 7 hours ago









Thies HeideckeThies Heidecke

7,61126 silver badges39 bronze badges




7,61126 silver badges39 bronze badges










  • 1




    $begingroup$
    Ah, very neat to use Around. Have to rembember that (+1).
    $endgroup$
    – Henrik Schumacher
    7 hours ago












  • 1




    $begingroup$
    Ah, very neat to use Around. Have to rembember that (+1).
    $endgroup$
    – Henrik Schumacher
    7 hours ago







1




1




$begingroup$
Ah, very neat to use Around. Have to rembember that (+1).
$endgroup$
– Henrik Schumacher
7 hours ago




$begingroup$
Ah, very neat to use Around. Have to rembember that (+1).
$endgroup$
– Henrik Schumacher
7 hours ago

















draft saved

draft discarded
















































Thanks for contributing an answer to Mathematica Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f203116%2fhow-to-get-planck-length-in-meters-to-6-decimal-places%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

199年 目錄 大件事 到箇年出世嗰人 到箇年死嗰人 節慶、風俗習慣 導覽選單