conhelp
From DavinciWiki
(Difference between revisions)
m (Added unithelp to list of related functions) |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{DavinciWiki_Function|Displays description of con (constants structure) | + | {{DavinciWiki_Function| |
+ | Displays description of con (constants structure) | ||
This is a user-defined function from constants.dvrc | This is a user-defined function from constants.dvrc | ||
| | | | ||
Arguments: None; just enter conhelp() | 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) | Return Value: Prints description of each element of structure con when not given any input; returns zero for any input(s) | ||
| | | | ||
Line 10: | Line 11: | ||
| | | | ||
dv> con | dv> con | ||
− | struct, | + | struct, 23 elements |
e: 2.71828 | e: 2.71828 | ||
phi: 1.61803 | phi: 1.61803 | ||
− | AU: 1. | + | pi: 3.14159 |
+ | AU: 1.49598e+11 | ||
b: 0.00289777 | b: 0.00289777 | ||
c: 2.99792e+08 | c: 2.99792e+08 | ||
Line 36: | Line 38: | ||
conhelp() displays descriptions of all physical constants in structure con | conhelp() displays descriptions of all physical constants in structure con | ||
− | S.Marshall | + | S.Marshall 02-18-2008 |
− | e = 2. | + | e = 2.718281828459045 Base of natural logarithm |
− | phi = 1. | + | phi = 1.618033988749895 Golden ratio |
+ | pi = 3.141592653589793 Pi | ||
− | AU = 1. | + | AU = 1.49597870691e+11 m Astronomical unit |
− | The following physical constants use CODATA 2006 values, | + | The following physical constants use the CODATA 2006 values, |
from http://physics.nist.gov/cuu/Constants | from http://physics.nist.gov/cuu/Constants | ||
− | b = 2. | + | b = 2.8977685e-03 m*K Wien wavelength displacement law constant |
− | c = | + | c = 299792458 m/s Speed of light in a vacuum (exact) |
− | eps0 = 8. | + | eps0 = 8.854187817e-12 F/m Electric constant (permittivity) |
− | eV = 1. | + | eV = 1.602176487e-19 J Electron volt |
− | F = | + | F = 96485.3399 C/mol Faraday constant |
− | G = 6. | + | G = 6.67428e-11 m^3/kg/s^2 Newtonian gravitation constant |
− | g = 9. | + | g = 9.80665 m/s^2 Standard acceleration due to gravity (exact) |
− | h = 6. | + | h = 6.62606896e-34 J*s Planck constant |
− | hbar = 1. | + | hbar = 1.054571628e-34 J*s Reduced Planck constant (Dirac constant) |
− | k = 1. | + | k = 1.3806504e-23 J/K Boltzmann constant |
− | me = 9. | + | me = 9.10938215e-31 kg Electron mass |
− | mn = 1. | + | mn = 1.674927211e-27 kg Neutron mass |
− | mp = 1. | + | mp = 1.672621637e-27 kg Proton mass |
− | mu = 1. | + | mu = 1.660538782e-27 kg Atomic mass constant |
− | mu0 = 1. | + | mu0 = 1.2566370614e-06 N/A^2 Magnetic constant (permeability) |
− | NA = 6. | + | NA = 6.02214179e+23 mol^-1 Avogadro's number |
− | qe = 1. | + | qe = 1.602176487e-19 C Elementary charge |
− | R = 8.314472 J/mol/K | + | R = 8.314472 J/mol/K Ideal/molar gas constant |
− | sigma = 5.670400e- | + | sigma = 5.670400e-08 W/m^2/K^4 Stefan-Boltzmann constant |
0 | 0 | ||
Line 71: | Line 74: | ||
| | | | ||
| | | | ||
+ | *[[global]] | ||
*[[printf]] | *[[printf]] | ||
| | | | ||
*[[solsys]] | *[[solsys]] | ||
+ | *[[unithelp]] | ||
| | | | ||
*constants.dvrc | *constants.dvrc | ||
| | | | ||
− | + | | | |
+ | | | ||
}} | }} | ||
− | |||
− | |||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
− | [[category: | + | [[category:General Science]] |
Latest revision as of 13:41, 4 December 2010
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: >1.00
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, 23 elements e: 2.71828 phi: 1.61803 pi: 3.14159 AU: 1.49598e+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 02-18-2008 e = 2.718281828459045 Base of natural logarithm phi = 1.618033988749895 Golden ratio pi = 3.141592653589793 Pi AU = 1.49597870691e+11 m Astronomical unit The following physical constants use the CODATA 2006 values, from http://physics.nist.gov/cuu/Constants b = 2.8977685e-03 m*K Wien wavelength displacement law constant c = 299792458 m/s Speed of light in a vacuum (exact) eps0 = 8.854187817e-12 F/m Electric constant (permittivity) eV = 1.602176487e-19 J Electron volt F = 96485.3399 C/mol Faraday constant G = 6.67428e-11 m^3/kg/s^2 Newtonian gravitation constant g = 9.80665 m/s^2 Standard acceleration due to gravity (exact) h = 6.62606896e-34 J*s Planck constant hbar = 1.054571628e-34 J*s Reduced Planck constant (Dirac constant) k = 1.3806504e-23 J/K Boltzmann constant me = 9.10938215e-31 kg Electron mass mn = 1.674927211e-27 kg Neutron mass mp = 1.672621637e-27 kg Proton mass mu = 1.660538782e-27 kg Atomic mass constant mu0 = 1.2566370614e-06 N/A^2 Magnetic constant (permeability) NA = 6.02214179e+23 mol^-1 Avogadro's number qe = 1.602176487e-19 C Elementary charge R = 8.314472 J/mol/K Ideal/molar gas constant sigma = 5.670400e-08 W/m^2/K^4 Stefan-Boltzmann constant 0 dv> conhelp(1) 0 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 12-12-2007 |