Boost logo

Boost :

From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2003-10-16 16:01:32


Jan Langer <jan_at_[hidden]> wrote:

> Hugo Duncan wrote:
>> Deane Yang <deane_yang_at_[hidden]> wrote:
>>
>> [snipped good explanation of dimensional analysis]
>>
>>> You can do this for any of the dimensions, whether they are
>>> fundamental or derived. However, if you choose units for each of the
>>> fundamental dimensions, then they naturally induce units for each of
>>> the derived dimensions.
>>
>> Agreed, but how do you use a unit such as BTU which is not defined
>> in terms of units of fundamental dimensions?
>>

> how about:
>
> quantity <double, energy> const btu = 1055 * joules;

energy is not a fundamental dimension.

joules = kg·m2/s2 [ M L^2 T^-2 ]

> jan

Hugo


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk