home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Trees / V6 / usr / man / man6 / units.6 < prev    next >
Encoding:
Text File  |  1975-06-26  |  1.4 KB  |  67 lines

  1. .if n .ds / /
  2. .if t .ds / \z/\h'\w'*'u'
  3. .th UNITS VI 8/30/74
  4. .sh NAME
  5. units \*- conversion program
  6. .sh SYNOPSIS
  7. .it Units
  8. converts quantities expressed
  9. in various standard scales to
  10. their equivalents in other scales.
  11. It works interactively in this fashion:
  12. .s3
  13. .it "    You have:"
  14. inch
  15. .br
  16. .it "    You want:"
  17. cm
  18. .br
  19. .it "        * 2.54000e+00
  20. .br
  21. .it "        \*/ 3.93701e\-01
  22. .s3
  23. A quantity is specified as a multiplicative combination of
  24. units optionally preceded by a numeric multiplier.
  25. Powers are indicated by suffixed positive integers,
  26. division by the usual sign:
  27. .s3
  28. .it "    You have:"
  29. 15 pounds force/in2
  30. .br
  31. .it "    You want:"
  32. atm
  33. .br
  34. .it "        * 1.02069e+00"
  35. .br
  36. .it "        \*/ 9.79730e\-01"
  37. .s3
  38. .it Units 
  39. only does multiplicative scale changes.
  40. Thus it can convert Kelvin to Rankine, but not Centigrade to
  41. Fahrenheit.
  42. Most familiar units,
  43. abbreviations, and metric prefixes are recognized,
  44. together with a generous leavening of exotica
  45. and a few constants of nature including:
  46. .s3
  47. .nf
  48.     pi    ratio of circumference to diameter
  49.     c    speed of light
  50.     e    charge on an electron
  51.     g    acceleration of gravity 
  52.     force    same as g
  53.     mole    Avogadro's number
  54.     water    pressure head per unit height of water
  55.     au    astronomical unit
  56. .s3
  57. .fi
  58. `Pound' is a unit of
  59. mass.
  60. Compound names are run together, e.g. `lightyear'.
  61. British units that differ from their US counterparts
  62. are prefixed thus: `brgallon'.
  63. For a complete list of units, `cat /usr/lib/units'.
  64. .sh FILES
  65. /usr/lib/units
  66. .sh BUGS
  67.