TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: RICHARD SKINNER
from: Mike Fisher
date: 1995-12-04 12:43:36
subject: Cube root

Hi Richard,

On Thursday November 30 1995, RICHARD SKINNER wrote from 1:106/112 to ALL:

 RS> I was wondering, in pascal, how do I return the Cube Root of a number?
 RS> I'm using BP7, I see a SQRT but I don't see anything for the cube root
 RS> and its been so long since school I just can't remember.:)

 RS> Any help would be appreciated,

The cube root of P is the antilogarithm of one-third of the logarithm of P.

ie. in Pascal, to calculate the Qth root of P ...

               root:=exp(ln(P)/Q);

Best regards,
Mike.

--- GoldED 2.50+
* Origin: ROOTS (UK!) (2:440/50)
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: 440/50 4 141/209 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™.