News for hackers. Stuff that matters.
Re:It's time for the US to use the metric system by raverbashing on Friday May 30, 2014 @09:06AM (#7821509)
This is similar in Canada

Yes, it's difficult to make people think about it. At the same time, sometimes the units "don't matter" (like speed limits, 50 is 50 in the speedometer, just make sure you're not looking at the mph scale)

I want to slap somebody when I hear about "pounds" or "feet/sq ft", or even worse, Fahrenheit (since this is a non-linear transform)

At least everything in the supermarket is marked per pound and kilo

Re:It's time for the US to use the metric system by bhousel on Friday May 30, 2014 @09:13AM (#7821538)
> Fahrenheit (since this is a non-linear transform)

huh?

Re:It's time for the US to use the metric system by fluffyllemon on Friday May 30, 2014 @09:44AM (#7821701)
For a function to be a linear transform it needs two properties[1]:

  1. F(c1 + c2) = F(c1) + F(c2)
  2. F(k*c1) = k*F(c1)
Converting from Celsius->Fahrenheit (or vice versa) is does not have these properties.

  F(c) = 9/5 * c + 32

  F(c1 + c2) = 9/5 * (c1 + c2) + 32
  F(c1) + F(c2) = (9/5 * c1 + 32) + (9/5 * c2 + 32) = 9/5 * (c1 + c2) + 64

  F(k*c1) = 9/5 * (k*c1) + 32
  k*F(c1) = k * (9/5 * c1 + 32) = 9/5 * (k*c1) + k*32
Admittedly, I'm not entirely sure why being a non-linear transform gets the OP so riled up.

[1]http://mathworld.wolfram.com/LinearTransformation.html

Re:It's time for the US to use the metric system by raverbashing on Friday May 30, 2014 @12:02PM (#7822493)
" Admittedly, I'm not entirely sure why being a non-linear transform gets the OP so riled up."

Because it's harder to calculate mentally

One can approximate 2lb to 1kg roughly, 1mi ~ 1.6km, but for Fahrenheit this is harder

One solution is to establish a set point ( 70F = 21.1C, approximate to 20C ) then work in differences, since 1.8deltaF = 1deltaC so, 2dF ~ 1dC (or 10dF ~ 5dC)

Hence, 90F is approximately 30C (exact value, 32.2C)

Re:It's time for the US to use the metric system by icegreentea on Friday May 30, 2014 @09:16AM (#7821549)
There's a constant offset between F and C, so it's not linear in the actual engineering/math (or whatever) sense.
Re:It's time for the US to use the metric system by drdeca on Friday May 30, 2014 @09:41AM (#7821678)
It's not proportional, but the equation for going from one to another is that of a line.

I would think this would be called linear, but that mean something more specific?

Re:It's time for the US to use the metric system by icegreentea on Friday May 30, 2014 @09:47AM (#7821716)
In engineering, linearity refers to having two properties: a) f(x+y) = f(x) + f(y) where x, y, are two values, and f is a linear transform/function b) af(x) = f(ax) where a is constant In this case, the transform is the conversion between C and F. Since there is +/32 in there depending on direction, neither of these properties hold.

For example, yards to meters is a linear transform. 3 yards converted to meters + 2 yards converted to meters = 5 yards converted to meters. This is not true of temperature. Adding 32F to 32F gives 64F, which is not the same as adding 0C to 0C.

Re:It's time for the US to use the metric system by drdeca on Saturday May 31, 2014 @12:36AM (#7825290)
Thanks! I wasn't aware of that(the) definition.
Re:It's time for the US to use the metric system by ppereira on Friday May 30, 2014 @09:47AM (#7821726)
In geometry, this would be an affine transformation.