Engineering calculator

0. Contents

This is the documentation of ce-1.0.7.
   1. Purpose
   2. The original project description (Finnish)
   3. Copying
   4. Requirements
   5. Downloading

1. Purpose

An engineering calculator that knows about relations between Newtons, kilograms, Pascals, Ohms, Watts, Joules, meters, liters etc, and even the basics of complex numbers - with the main focus in the significant digits.
Usage: ce [options] <expression>

Options:
  -h, --help                This text
  -m0, --no-stdsignif       500 contains one significant digit (default)
  -m1, --stdsignif          500 contains three significant digits
  -O0, --no-optimization    Supresses the formula expansion
  -O1, --optimization       Optimizes the formula (default)
  -s0, --no-summadebug      (default)
  -s1, --summadebug         Debugs sum operations
  -t0, --no-tulodebug       (default)
  -t1, --tulodebug          Debugs product operations
  -c0, --no-combinedebug    (default)
  -c1, --combinedebug       Debugs combining operations
  -r0, --no-roundingdebug   (default)
  -r1, --roundingdebug      Debugs rounding
  -V, --version             Version info
  -v, --verbose             Another debugging option
  -nkg, --no-grammahallinta Don't favor kg
  -kg, --grammahallinta     Favor kg (default)
  -nsi, --no-si-control     Don't use m,k,M,c etc
  -si, --si-control         Use SI-prefices (default)

2. The original project description (Finnish)

	Insinöörilaskin joka ymmmärtää kilojen, megojen, millien yms päälle.
	
	Myös ymmärtää jotkin vakiot kuten c, G jne...
	
	Yksikön/vakion ja etullitteen ero tulee näin:
	
	  5m = 5 metriä
	  5mg = 5 milligrammaa
	  
	  c/2 = puolet valonnopeudesta, eikä viisi milliä.
	  
	  Eli m on etuliite, jos sen perässä seuraa kirjain.
	  
	Myös automaattinen yksiköiden tulkinta olisi kiva:
	
	  <Bisqwit> .ce 5V * 40mA
	  <BisqBot> Result = 0.2W

	Parsetusta:
	
	  <Bisqwit> .ce 5V + 2A + 5V - 10V
	  <BisqBot> Result = 2A
	  
	Tunnistetut etuliitteet:
	
          a (10^-18)
          f (10^-15)
          p (10^-12)
          n (10^-9)
          µ (10^-6)
	  m (10^-3)
	  c (10^-2)
	  d (10^-1)
	  k (10^3)
	  M (10^6)
	  G (10^9)
	  T (10^12)
	  P (10^15)
	  E (10^18)
	  
	Tunnistetut vakiot:
	
	  c = 299792458 m/s (light speed in vacuum)
	  G = 6.673e-11 Nm^2/kg^2
	  pi= 3.141592653589793
	
	Tunnistetut yksiköt:
	
	  m (metri)
	  V (voltti)
	  J (joule)
	  A (ampeeri)
	  W (watti)
	  g (gramma)
	  l (litra)
	  N (newton)
	  K (kelvin)
	  ohm (ohmi)
	  
	Tunnetut yksikkömuunnokset:
	
	  W = V * A
	  V = A * ohm
	  J = N * m
	  J = W * s
	  N = 1000 * g * m / s^2
	  l = m^3 / 1000
	  
	  Muunnoksia voidaan pyöritellä lyhentymisen toivossa.
	  
	Lukuvakioiden esitysmuoto:
	
	  [etumerkki]numeroita[.numeroita][e[etumerkki]numeroita]

	Rajoituksia:
	
	  Potenssiinkorotus voidaan tehdä vain vakiolla.

	Tarkkuus:
	
	  Jokaisella lähtöarvolla on tarkkuus.
	  Lopputuloksessa ei voi olla enempää tarkkuutta kuin
	  epätarkimmassa lähtöarvossa.
	  
	  Sisäisillä vakioilla (kuten valon nopeus) on suuri tarkkuus.
	  
	  Kerroinvakioilla (esim. 2c) on ääretön tarkkuus.
	  
	  Lukuvakioilla (esim. 2.5 kg) on pieni tarkkuus
	  (luvun 2.5 tarkkuus on kaksi merkitsevää numeroa).

	  Etuliitteiden aikaansaamilla kertoimilla on ääretön tarkkuus.
Currently there are lots of more constants and units known by ce than those listed above. User may even define his own constants and use them as variables.

3. Copying

ce has been written by Joel Yliluoma, a.k.a. Bisqwit,
and is distributed under the terms of the General Public License (GPL).

4. Requirements

GNU make is probably required.

5. Downloading

The official home page of ce is at http://oktober.stc.cx/source/ce.html.
Check there for new versions.

Generated from progdesc.php (last updated: Wed, 1 May 2002 22:33:51 +0300)
with docmaker.php (last updated: Fri, 7 Jun 2002 00:57:39 +0300)
at Fri, 5 Jul 2002 13:56:40 +0300