1 страниц (12 вхождений)
Units and Conversions - Сообщения
#1 Опубликовано: 17.07.2011 14:35:07
If someone wants to roll up his sleeves and correct the issues documented with SMath's implementation of Units (one of its absolutely best features), and make it more universally complete, here are some useful resources:
http://www.digitaldutch.com/unitconverter/
http://www.chemie.fu-berlin.de/chemistry/general/units_en.html
http://www.megaconverter.com/Mega2/index.html
http://www.nist.gov/pml/wmd/metric/unit-conversion.cfm
http://physics.nist.gov/cuu/Units/
http://physics.nist.gov/cuu/Units/binary.html
For conversion factors, it might be easiest to use a two stage process. All units of a given type (e.g., length) are converted to one standard value used by smath and then that standard value is converted to the desired value. That way there is only one list of conversions to funnel values into the standard unit. Then inverse of conversions would be used to convert back out to the desired value. This avoids an N squared table of conversions. Furthermore, using fundamental physical constants to "derive" some of these conversion factors (see SI standards) would make compiling the list of constants less tedious. Of course, this won't work for nonphysical units such as currency.
BTW, does anybody know if Roman Numerals are supported in smath?
Eagle
http://www.digitaldutch.com/unitconverter/
http://www.chemie.fu-berlin.de/chemistry/general/units_en.html
http://www.megaconverter.com/Mega2/index.html
http://www.nist.gov/pml/wmd/metric/unit-conversion.cfm
http://physics.nist.gov/cuu/Units/
http://physics.nist.gov/cuu/Units/binary.html
For conversion factors, it might be easiest to use a two stage process. All units of a given type (e.g., length) are converted to one standard value used by smath and then that standard value is converted to the desired value. That way there is only one list of conversions to funnel values into the standard unit. Then inverse of conversions would be used to convert back out to the desired value. This avoids an N squared table of conversions. Furthermore, using fundamental physical constants to "derive" some of these conversion factors (see SI standards) would make compiling the list of constants less tedious. Of course, this won't work for nonphysical units such as currency.
BTW, does anybody know if Roman Numerals are supported in smath?
Eagle
#2 Опубликовано: 17.07.2011 14:50:01
That last part is interesting: Roman numerals
Is it possible to support base conversions bin-oct-hex-dec-base12(duodecimal) and other ancient (or modern) numbering/numeral systems?
Is it possible to support base conversions bin-oct-hex-dec-base12(duodecimal) and other ancient (or modern) numbering/numeral systems?
#3 Опубликовано: 30.08.2012 03:03:54
Is it possible to modify or add to the definitions in "\entries\units.xml
to add "Torque" units similar to Mathcad....
Also, is it possible to modify same file to add US definitions
and change defaults, as well as eliminate some that are not used as frequently
in US.
For example, in 30+ year of structural engineering I have only once used
SI units and never illuminance, inductance units, etc....if they can be
eliminated in a "custom" units.xml file, I would remove most the unused units.
It would significantly speed up drilling down to units I do use on frequent basis.
to add "Torque" units similar to Mathcad....
Also, is it possible to modify same file to add US definitions
and change defaults, as well as eliminate some that are not used as frequently
in US.
For example, in 30+ year of structural engineering I have only once used
SI units and never illuminance, inductance units, etc....if they can be
eliminated in a "custom" units.xml file, I would remove most the unused units.
It would significantly speed up drilling down to units I do use on frequent basis.
#4 Опубликовано: 04.09.2012 16:15:37
It is possible to do so, I've edited my units.xml to define everything in terms of inches and pounds (left metric alone since I don't use it). I also added a few custom definitions such as area and diameter of rebar.
To add units I found it best to not change the language file and just add the unit definition
Units.7z (3 КиБ) скачан 179 раз(а).
To add units I found it best to not change the language file and just add the unit definition
<unit value="0.79*'in^2" description="248" dimension="All">
<name lang="eng" text="'A.#8" />
</unit>
Units.7z (3 КиБ) скачан 179 раз(а).
#5 Опубликовано: 23.07.2013 18:02:02
This is great. Thanks for posting this for all of us who have to use English units. It's not quite perfect (converting between metric and English does not output as expected), but it's much better than the defaults, especially the badly needed inclusion of units for force density (pcf).
Can someone explain to me how to adjust this file so the default unit is feet instead of inches? For example, in the following calculation:
150 pcf * 1 ft * 1 ft =
I would like the default result to be:
150 lb/ft
instead of:
12 lb/in
Can someone explain to me how to adjust this file so the default unit is feet instead of inches? For example, in the following calculation:
150 pcf * 1 ft * 1 ft =
I would like the default result to be:
150 lb/ft
instead of:
12 lb/in
#6 Опубликовано: 21.11.2019 19:05:56
Great software!
I especially like the interface as a calculator.
Wonder if we already have the function of bin-oct-hex-dec conversion?
Thanks!
I especially like the interface as a calculator.
Wonder if we already have the function of bin-oct-hex-dec conversion?
Thanks!
#7 Опубликовано: 22.11.2019 01:08:40
WroteGreat software!
I especially like the interface as a calculator.
Wonder if we already have the function of bin-oct-hex-dec conversion?
Thanks!
Hi. I use this.
numbase.sm (12 КиБ) скачан 232 раз(а).
Best regards.
Alvaro.
#8 Опубликовано: 23.11.2019 00:56:38
#9 Опубликовано: 23.11.2019 04:37:30
Wrote
Wish it could handle negative values.
You need to define the complement value. Windows calc use 2^64, but SMath only can use 2^32. Check the attached.
Wrote
BTW, I see a lot squares in (I know not all ASCII code can be displayed) definition of N$256, It seems N$256 is not needed?
Anyway, thanks!
I use N$256 sometimes for convert full ASCII text to a decimal number. For example, the string "SMath" in base 256, using N$256 is 353468707687 in base 10.
numbase.pdf (507 КиБ) скачан 148 раз(а).
numbase.sm (209 КиБ) скачан 123 раз(а).
Best regards.
Alvaro.
2 пользователям понравился этот пост
#10 Опубликовано: 23.11.2019 22:31:26
Thanks! Razonar.
Obviously I have a lot to learn.
Obviously I have a lot to learn.
#11 Опубликовано: 17.02.2020 09:07:24
WroteWroteGreat software!
I especially like the interface as a calculator.
Wonder if we already have the function of bin-oct-hex-dec conversion?
Thanks!
Hi. I use this.
numbase.sm (12 КиБ) скачан 232 раз(а).
Best regards.
Alvaro.
This is cool, but Bas2Dec("803d800",16)=134576128 - is no true. True resulit is 134469632. Help me pleas.
#12 Опубликовано: 17.03.2020 02:07:15
1 страниц (12 вхождений)
-
Новые сообщения
-
Нет новых сообщений