2
$\begingroup$

Is there a way using the various unit commands to convert units to values that correspond to the speed of light being 1 and unitless. 10 Joules is the immediate quantity in question.

Also I wonder if Solve could be used to do this.

Could some one direct me to some instructions in how to use tis editor. I Answered my own question but this editor is hard for me to decipher.

UnitConvert[Quantity[10, "Joules"]/(Quantity["SpeedOfLight"])^2] // N

The Answer is 1.11 X 10-16 KG Gave up on this editor so I will just type it out. Momentum of a car, 3 X 10^4 Unitconvert[3010^4 kg m s^-1]->30 X 10^3 kg m /s Coefecient of s is -1 so coeffecient n below is 1 UnitConvet[3010^3 [= kg m /s]*(1/Quantity["SpeedOfLight"])^n (n=1) 0.000100069 kg

$\endgroup$
7
  • $\begingroup$ What have you tried so far? Can you, please, include this code in your question? $\endgroup$ Commented Apr 17, 2021 at 20:03
  • 1
    $\begingroup$ What's wrong with UnitConvert[Quantity[10, "Joules"]/Quantity["SpeedOfLight"]]? $\endgroup$
    – Adam
    Commented Apr 17, 2021 at 20:54
  • 1
    $\begingroup$ I think by setting c = 1 = 299792458 m/s , the OP wants a second to meter conversion or vice versa. With that conversion you can eliminate either meter or second for the joule conversion $\endgroup$
    – Bill Watts
    Commented Apr 17, 2021 at 22:20
  • 1
    $\begingroup$ To define an energy unit based on c, you must also choose a unit of mass, either explicitly or implicitly. $\endgroup$
    – John Doty
    Commented Apr 18, 2021 at 1:07
  • $\begingroup$ As @JohnDoty points out, you need to fix an entire system of units, not just one (speed of light). In SI units, we choose kilograms, meters, and seconds as the three base units for dynamics. You can choose any three you like; but they have to be three in number (for dynamics). So choosing the speed of light as a base units is fine but needs to be complemented by two others, for example the kilogram and the meter, or Planck's constant and the electron's mass, or really any other pair. See this answer for more examples. $\endgroup$
    – Roman
    Commented Apr 18, 2021 at 6:54

1 Answer 1

1
$\begingroup$

A simplified version of what I said in the comments:

As @JohnDoty points out, you need to fix a unit of mass. Together with the unit of speed (in your case, the speed of light), the conversion becomes:

SpeedUnit = "SpeedOfLight";
MassUnit = "Kilogram";
UnitConvert[Quantity[10, "Joules"], MassUnit*SpeedUnit^2] // N
(*    1.11265*10^-16 kg c^2    *)

SpeedUnit = "SpeedOfLight";
MassUnit = "PlanckMass";
UnitConvert[Quantity[10, "Joules"], MassUnit*SpeedUnit^2]
(*    5.112*10^-9 mP c^2    *)
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.