Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: physical constants header file

Reply
Thread Tools

Re: physical constants header file

 
 
Richard Herring
Guest
Posts: n/a
 
      10-19-2004
In message <cksn2i$9nc$(E-Mail Removed)>, E. Robert Tisdale
<(E-Mail Removed)> writes
[molto snippo]
> const double Hertz = 1.0/second;
> const double Newton = kilogram*meter/(second*second);
> const double Pascal = Newton/(meter*meter);
> const double Joule = Newton*meter;
> const double Watt = Joule/second;
> const double Ampere = 1.0;
> const double Volt = Watt/Ampere;
> const double Ohm = Volt/Ampere;
> const double Siemens = mho;
> const double Coulomb = Ampere*second;
> const double Farad = Coulomb/Volt;
> const double Weber = Volt*second;
> const double Tesla = Weber/(meter*meter);
> const double Henry = Weber/Ampere;
> const double Kelvin = 1.0;


Bzzzt. SI units named after people have lowercase names.

--
Richard Herring
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: physical constants header file Howard C++ 18 10-29-2004 09:59 AM
Re: physical constants header file rossum C++ 2 10-19-2004 08:57 PM
Re: physical constants header file JKop C++ 2 10-19-2004 04:53 PM
Re: physical constants header file Gene Nygaard C++ 0 10-19-2004 02:15 PM
Re: physical constants header file rossum C++ 1 10-18-2004 10:08 PM



Advertisments