Map and Table Calculation

POW( ) function

Returns the result of a value a raised to a power b, i.e. ab

Syntax

POW(Value a, Value b)

Input

Value a is the base value.
Domain type: any Value domain
Value b is the exponent to which Value a is raised.
Domain type: any Value domain

Output

POW returns: a real value
Domain: system domain Value

Notes:

Tips:

Usable in

MapCalc, TabCalc, Simple calculators

Examples

Pocket line calculator examples:

? POW(2,3)

returns 8.000

? 2^3

returns 8.000

? POW(8,1/3)

returns 2.000

MapCalc example:

OutMap = POW(InMap,3)

 

InMap

OutMap

2.0 1.0 0.5
0.2 0.3 -1.0
? -0.4 -0.1
8.000 1.000 0.125
0.008 0.027 -1.000
? -0.064 -0.001

TabCalc example:

OutCol = POW(InColA,InColB)

 

InColA

InColB

OutCol

2.0

0.0

1.000

1.0

4.2

1.000

0.5

2.0

0.250

0.2

1.3

0.123

0.0

2.0

0.000

-1.0

8.6

?

?

6.0

?

-0.4

3.0

-0.064

-0.1

2.0

0.010

Applied example: exponential growth functions

In general, an exponential growth function is defined as:

An = A0 * (1 + perc/100)n

where:

An

is the amount after n years

A0

is the amount in year 0

perc

is the growth rate as a percentage per year

n

is the number of years

 

In ILWIS this function looks like:

An = A0 * POW(1 + perc/100, n)

The expected total residential area after 4 years, of a residential area of 1136 ha with an estimated growth rate of 6% per year, is:

1136 * POW(1 + 6/100, 4) = 1434

For the other landuse areas the results are:

 

LandUse

AreaHaY0

GrowPerc

AreaHaY4

Residential

1136

6

1434

Commercial

116

2

126

Industrial

173

3

195

Institutional

137

1

143

Recreational

77

2

83

Transportation

18

1

19

 

Where:

Column AreaHaY0 contains the areas in hectares for each land use class in year 0.

Column GrowPerc contains growth rates per year.

Column AreaHaY4 contains the areas of the land use classes after 4 years.

Notes:a

See also: