| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: Cube root |
Hi Richard,
RS> I was wondering, in pascal, how do I return the Cube Root of a
RS> number? I'm using BP7, I see a SQRT but I don't see anything for the
RS> cube root and its been so long since school I just can't remember.:)
The following "equations" might be useful:
sqrt(x) = x ** 1/2 { x to the 1/2 power }
cube_root(x) = x ** 1/3
x ** y = exp(y * ln(x))
CU/2, Roland
... I program like a MAN. I use COPY CON PROGRAM.EXE
--- Blue Wave/Max v2.20
* Origin: CCWN: Leistung ueberzeugt ! 07151-9932-40 (2:246/1401)SEEN-BY: 270/101 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407 SEEN-BY: 712/515 517 628 713/888 800/1 7877/2809 @PATH: 246/1401 50 24/24 396/1 270/101 712/515 711/808 809 934 |
|
| 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™.