Any scientist has already experienced errors in their results or their
predictions of physical parameters. These errors are very often due to a
missing
conversion between two initial data or formulas expressed in different systems
of units.
Yet the PhysCalc package does not ensure that your calculations will be
correct, it still can be of great help when dealing with values and constants
gathered from different bibliographical sources, hence possibly expressed in
varied systems of units.
PhysCalc facilitates the declaration and the correct use of physical quantities
in Scilab. Once all your constants and parameters are declared (with a very
light syntax), any operation and Scilab function can be used to work on them.
While you are concentrated on your work and the physical meaning of your
results, PhysCalc:
- checks for you that your operations have a sense (e.g. that you are not
adding or concatenating speeds and energies...)
- makes implicitly the appropriate conversions when adding two quantities of
identical physical meaning (e.g., a speed in International Units and a speed in
CGS units).
- calculates the unit of the result of every operation (addition, division,
multiplication, exponentiation,...) based on physical operands.
- lets you add, multiply, exponentiate, extract, insert and concatenate all
your physical vectors (provided that the operation is correct!) and use every
other Scilab function on them.
- displays your results with their unit in a nice, human-readable format in
the Scilab prompt.
A number of practical units and physics constants are already included in the
package.
As this is my first attempt to submit a Scilab package, there may be bugs in the
present work (however, this is pretty simple). So, please feel free to write a
comment and/or let me know by email if you encounter something wrong.