5 ms·
I like this, but would really like a convert-to-base-units function. ≫ sqrt(1/(eps0 mu0)) ->m/s sqrt(1 / (eps0 × mu0)) -> m / s = 299833000 m/s ≫
by scentoni 9y ago
I like this, but would really like a convert-to-base-units function.
≫ sqrt(1/(eps0 mu0)) ->m/s
sqrt(1 / (eps0 × mu0)) -> m / s
= 299833000 m/s
≫ sqrt(mu0/eps0) ->ohm
sqrt(mu0 / eps0) -> Ω
= 377.031 Ω
- infinisil 9y agoFun fact: Converting to a unit is exactly the same as dividing by it (temperatures are the exception), so this works too: ≫ sqrt(mu0/eps0) / ohm sqrt(mu0 / eps0) / Ω = 376.73 Also seems like the constants (!) got changed a bit since you executed this
- sharkdp 9y agoThank you for the feedback! I'm open for any syntax suggestions.
- scentoni 9y agoMaybe something like SI(sqrt(1/(eps0 mu0))) = 299792458 m/s factor(sqrt(mu0/eps0),ohm) = SI(sqrt(mu0/eps0)/ohm)*ohm = 376.730 Ω