DPlot logo
GRAPH SOFTWARE FOR SCIENTISTS & ENGINEERS
FPOWER function 
 

FOWER(x,a,b)

Returns the result of the first argument raised to a fractional power. FPOWER(x,a,b) = x^(a/b).

Both a and b must be integers (whole numbers). This function is primarily useful for finding fractional powers of negative numbers. (The normal exponentiation operator (^) will not work in this case, as internally x^a is calculated as exp(a*ln(x)), and the logarithm of a negative number is undefined.)

The function returns an invalid argument error if b is equal to 0 or if x is less than 0, b is even, and a is odd.

FPOWER(-27,1,3)=-3

 
Site Map
Copyright © 2001-2008 HydeSoft Computing, LLC
Privacy Policy