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

Some missing units #252

Open
FEA-eng opened this issue Dec 8, 2023 · 5 comments
Open

Some missing units #252

FEA-eng opened this issue Dec 8, 2023 · 5 comments

Comments

@FEA-eng
Copy link

FEA-eng commented Dec 8, 2023

Hi,

I've noticed that the following units are not available in Calcpad and would be nice to have:

  • dB
  • Gs (Gauss)
  • b, kb, Mb, Gb, Tb, Pb, B, kB, MB, GB, TB, PB
  • kmol, nmol and maybe other multiples
  • Mx (Maxwell)
  • week, month, year
  • pc (Parsec)
  • Å (Angstrem)
@Proektsoftbg
Copy link
Owner

Hi! Thank you for your suggestions.

Some of them we already have. Week is "w" and year is "y". I doubted about month before because different months have different number of days - 28(29), 30 and 31. Probably 30 days would be OK, but there is some ambiguity.

And what is "b" an "B"?

@FEA-eng
Copy link
Author

FEA-eng commented Dec 9, 2023

Some of them we already have. Week is "w" and year is "y".

Right, they aren't listed on the main page (https://github.com/Proektsoftbg/Calcpad) so I thought they aren't available.

I doubted about month before because different months have different number of days - 28(29), 30 and 31. Probably 30 days would be OK, but there is some ambiguity.

I've seen the value of 30.4368499 days used in some cases. Like in SMath or Google if you search for "month to days".

And what is "b" an "B"?

b - bit, B - byte

@Proektsoftbg
Copy link
Owner

OK. Thank you. Probably I have forgotten to add "w" and "y" to this readme at the time they were implemented. I will update it accordingly,

About SMath, probably they defined month as average = year/12.

image

In this respect, probably we have to reconsider the unit for years "y" in Calcpad. Now it is 365 days.
In SMath, it is 365.2425 days, which is according to the Gregorian calendar:
https://en.wikipedia.org/wiki/Leap_year

However, in MathCAD, it is 365.24219878125 days, which is probably something like an exact "tropical" year duration:
https://en.wikipedia.org/wiki/Tropical_year

image

There is also "astronomical" year, which is defined as 365.25 days by convention:
https://multiverse.ssl.berkeley.edu/Portals/0/CalendarInTheSky/Resources/Presentations/HowLongIsAYear.pdf?ver=Wt-kX9xEaM0fZve8OXxBfg%3d%3d

To be honest, as a structural engineer I am getting confused by having so many "years". The question is what is the most appropriate to assume in Calcpad. The SMath approach seems to be more practical and simpler for everyday engineering calcs.

@FEA-eng
Copy link
Author

FEA-eng commented Dec 10, 2023

Even more definitions here: https://www.physicsforums.com/insights/measuring-how-many-days-are-in-a-year/

I think that I would choose the approach used in SMath too.

@Proektsoftbg
Copy link
Owner

OK. Thank you! I will make the required changes.

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

No branches or pull requests

2 participants