B4J Library Library science

Hello.

I would like to introduce you to the Science library. I wrote it in my free time and I will develop it with more branches of science. Maybe there are still a few hundred patterns left.

The library at the moment has:
1. constants - physical, chemical constants, etc. - 48 element
2. EnergyConvert - energy converter between J,Hz,K,eV,u - 37 patterns
3. Math - mathematical formulas - 38 patterns
4. Physics - formulas related to physics divided into subcategories by prefix. - 75 patterns
- DYN_ - dynamics
- ELE_ - electricity
- KIN_ - kinetics
- MAG_ - magnetism
- WAV_ - waves and vibrations
- TER_ - thermodynamitics
5. Engineering - templates for engineering (as of version 0.11)
- DURABULITY_ - durability of materials - 17 patterns

I tried to keep the calculations correct. To the PI constant I added PI50, is a constant PI to 50 decimal places. It can be useful for accurate calculations of large objects. Some formulas have already duplicated functions just for PI50. This is marked.
I will not write everything here, I tried to describe the formulas, constants and input and output parameters quite clearly.
Can be used for all B4X platforms: B4A,B4J,B4i.

Example use:
    Log(Constans.AtomicMass)
    Log(EnergyConvert.eVtoHz(1000.2))
    Log(Math.ArcLengthWheel(120,45))
    Log(Physics.DYN_DefinitionDensity(400.00, 23))
    Log(Engineering.DURABULITY_AbsoluteDeformation(4,5.2))
 

Attachments

  • Sience v0.1.zip
    18.9 KB · Views: 232
  • ver 0.11.zip
    21.3 KB · Views: 212
Last edited:
Top