Math::Constants

A few Math and Physics constants

Math::Constants

Math::Constants - A few constants defined in Raku

SYNOPSIS

#!/usr/bin/env raku

use Math::Constants;

say "We have ", phi, " ", plancks-h, " ",  plancks-reduced-h, " ",
    c, " ", G, " and ", fine-structure-constant, " plus ",
    elementary-charge, " and ", vacuum-permittivity ;

say "And also  Ļ† ", Ļ†, " Ī± ", Ī±,  " ā„Ž ",  ā„Ž, " and ā„ ", ā„,
    " with e ", e, " and Īµ0 ", Īµ0;

say "We are flying at speed ", .1c;

DESCRIPTION

Math::Constants is a collection of Math and Physics constants that will save you the trouble of defining them.

Constants included

Physical constants

All the physical constants have the CODATA 2018 recommended values. These reflect the new definitions of the kilogram and ampere as of 2019-05-20.

Mathematical constants

Units

"Units" can be used as suffix; the number will be multiplied by its value

  • eV, or electron-volts; 1.3eV is 1.3 divided by the eV constant value.

  • c, speed of light.

  • g, gravitational constant.

Issues and suggestions

Please post them in GitHub. Pull requests are also welcome.

AUTHOR

JJ Merelo [email protected]

Kevin Pye [email protected]

COPYRIGHT AND LICENSE

Copyright 2016-2022 JJ Merelo

Copyright 2019 Kevin Pye

This library is free software; you can redistribute it and/or modify it under the GPL 3.0.

Math::Constants v0.2.1

A few Math and Physics constants

Authors

  • JJ Merelo

License

GPL-3.0

Dependencies

Test Dependencies

Provides

  • Math::Constants

Documentation

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.