| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Pythagorean Triples |
Привет DAVID!
26 Авг 04 09:12, DAVID WILLIAMS -> PAT PRIDGEN:
DW> -> W = 13.13 + 0.62 * T - 13.95 * V ^ 0.16 + 0.486 * T + V ^ 0.16
----- ^^^^^^^^ ================ ^^^^^^^^^ ========
DW> To my mind, still carrying the programming habits of long ago, when
DW> BASICs were very slow, this looks horrible. It does the same
DW> exponentiation twice, and exponentiation takes forever. I would
DW> rewrite it as:
DW> W = 13.13 + 0.62 * T + (0.416 * T - 13.95) * V ^ 0.16
DW> It's shorter, too!
??? >:-\
DW> (I'm sure you made a typo, and the final "+" in your
formula should be
DW> a "*". You got it right in the "English" version.)
hm... найн
W = 13.13 + (0.62 + 0.486) * T + (1 - 13.95) * V ^ 0.16
----- ^^^^^^^^^^^^^^^^^ =====================
ыгы?
Sergey
--- GoldED+/W32 1.1.5-030809
* Origin: I-yes Iuda - nice has thought up! (2:6045/1)SEEN-BY: 633/267 270 @PATH: 6045/1 292/100 140/1 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.