conhelp

From DavinciWiki
Revision as of 15:13, 12 December 2007 by Seanm (Talk | contribs)

Jump to: navigation, search

Description

Displays description of con (constants structure)

This is a user-defined function from constants.dvrc

Arguments and Return Values

Arguments: None; just enter conhelp()

Return Value: Prints description of each element of structure con when not given any input; returns zero for any input(s)

Usage

Syntax: conhelp()

Examples

dv> con
struct, 22 elements
    e: 2.71828
    phi: 1.61803
    AU: 1.49600e+11
    b: 0.00289777
    c: 2.99792e+08
    eps0: 8.85419e-12
    eV: 1.60218e-19
    F: 96485.3
    G: 6.67428e-11
    g: 9.80665
    h: 6.62607e-34
    hbar: 1.05457e-34
    k: 1.38065e-23
    me: 9.10938e-31
    mn: 1.67493e-27
    mp: 1.67262e-27
    mu: 1.66054e-27
    mu0: 1.25664e-06
    NA: 6.02214e+23
    qe: 1.60218e-19
    R: 8.31447
    sigma: 5.67040e-08
dv> conhelp()

conhelp() displays descriptions of all physical constants in structure con
S.Marshall 12-10-2007

    e     =  2.718282                Base of natural logarithm
    phi   =  1.618034                Golden ratio

    AU    =  1.496000e11 m           Astronomical unit

    The following physical constants use CODATA 2006 values,
     from http://physics.nist.gov/cuu/Constants

    b     =  2.897768e-3 m*K         Wien wavelength displacement law constant
    c     =  299792448 m/s           Speed of light in a vacuum
    eps0  =  8.854188e-12 F/m        Electric constant (permittivity)
    eV    =  1.602177e-19 J          Electron volt
    F     =  9.648535e4 C/mol        Faraday constant
    G     =  6.674280e-11 m^3/kg/s^2 Newtonian gravitation constant
    g     =  9.806650 m/s^2          Standard acceleration due to gravity
    h     =  6.626069e-34 J*s        Planck constant
    hbar  =  1.054572e-34 J*s        Reduced Planck constant (Dirac constant)
    k     =  1.380651e-23 J/K        Boltzmann constant
    me    =  9.109383e-31 kg         Electron mass
    mn    =  1.674927e-27 kg         Neutron mass
    mp    =  1.672622e-27 kg         Proton mass
    mu    =  1.660539e-27 kg         Atomic mass constant
    mu0   =  1.256637e-6 N/A^2       Magnetic constant (permeability)
    NA    =  6.022142e23 mol^-1      Avogadro's number
    qe    =  1.602177e-19 C          Elementary charge
    R     =  8.314472 J/mol/K        Ideal/molar gas constant
    sigma =  5.670400e-8 W/m^2/K^4   Stefan-Boltzmann constant

0
dv> conhelp(1)
0

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Recent Library Changes

Created On: 12-12-2007
Modified On: 12-04-2010

Personal tools