[prog] functions

Marize Pommot-Maia marize at pommot.net
Sun Dec 19 02:37:25 EST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wolfgang Petzold wrote:
| Am 12/18/2004 03:51 PM schrieb Marize Pommot-Maia:
|
|
|>The correct formula is
|>c = 5 *(f - 32)/9
|
|
| ... and rearranging for f is left as an exercise for the reader. ;-)
|
| Regards,
| Wolfgang

Well, if you insist ;-)

C: temperature in Celsius, F temperature in Fahrenheit

Given F, find C ==> C = 5*(F - 32)/9

Given C, find F ==> F = 9*C/5 + 32


- --
- ------------------------------------------------------------------------
				Marize Pommot-Maia
				marize at pommot.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBxE614y2uvMn0AkcRAqczAKCX20oWREovmTqiylyKmuql6xJIIQCg3Yug
qdlf8LLZyQpN+njmOqdkckg=
=ij3Q
-----END PGP SIGNATURE-----


More information about the Programming mailing list