Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit conversions with additive factor #1064

Open
c3d opened this issue Jul 28, 2024 · 2 comments
Open

Unit conversions with additive factor #1064

c3d opened this issue Jul 28, 2024 · 2 comments
Labels
feature New or missing features

Comments

@c3d
Copy link
Owner

c3d commented Jul 28, 2024

We need a way to implement conversions with an additive factors, e.g. Kelvin to Celsius and conversely.

@c3d c3d added the feature New or missing features label Jul 28, 2024
@Wiljea
Copy link

Wiljea commented Aug 9, 2024

Suggestion:
The idea is to relate in each case (by providing the corresponding equations in the csv file) to or from the most fundamental or primary SI unit of the same category.
For instance, in the case of temperature we have to relate to kelvin (K) and use it in intermediate step for conversion between Tˍ°C and Tˍ°F the relevant equations are:
Tˍ°C=TˍK+273.15 and Tˍ°F=9/5·(TˍK+273,15)+32
and their converse:
TˍK=Tˍ°C-273.15 and TˍK=5/9·(Tˍ°F-32)-273.15

@Wiljea
Copy link

Wiljea commented Aug 9, 2024

This idea to include additional info (like equations and uncertainty) in the CSV files would also apply to the physical constants case in a future development. Indeed, the db48 platform (with its adjustable precision) provides the best imaginable tool to calculate physical quantities with the sufficient and maximum precision available. We have to remind that since 2019, the SI unit system was completely redefined and finally unified with this precise goal in mind. We have now precisely defined fundamental constants (like c, NA, h, e, etc.) and secondary ones which depend directly (through defining equations) on the former and on some precise measurement (of given constants and their actual uncertainty). For instance the magnetic permeability (μo ± Δμo) depends strictly on the measured value the affine structure constant (α ± Δα). The relevant equations are :
μo=2·α·h/(e^2·c) and Δμo/μo=Δα/α
as simple as that !
Therefore, from the point view of a modern physicist, a universal calculator should provides for these complete information : Values, units, uncertainties, defining eqs for val and Δ.

There is no such hand-calculator to date (besides Maple or Mathematica which are heavy duty and cumbersome tools). And we have this unique opportunity to create one. I might be able to provide the relevant equations if you are interested (I already have a working prototype in Excel). And you will understand my personal interests for random numbers, uncertainty evaluation, error propagation (under given prob. distr.) and interval arithmetic.
These ideas and projects are for a future that I like very much to imagine ! The beauty of such a formidable calculation engine is its possibility to remain perfectly up to date (for instance, assume that next year a more precise value of α or G is measured, then all the related constants and calculations are adjusted accordingly). Is it just a dream ? I don't think so ! And the RPL engine of the db48 is a perfect target for the best (more complete, precise, etc.) calculator that one can realize and might dream of.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New or missing features
Projects
None yet
Development

No branches or pull requests

2 participants