Function EN Version 1.90

@Power

Float List Mathematics NUMBER

Syntax

@Power(FN1;FN2);
@Power(FNLIST1;FN2);
@Power(FN1;FNLIST2);
@Power(FNLIST1;FNLIST2);

Description

Calculates FN/FNLIST FN1/FNLIST1 to the power of FN/FNLIST FN2/FNLIST2. Each element of FNLIST2 is applied to the corresponding element of FNLIST1 . If one list is shorter, its last element is used for all missing elements. If an element of FN1/FNLIST1 is negative, the corresponding element in FN2/FNLIST2 may only be an integer; otherwise the calculation is not possible and returns zero.

Example: @Power(FN1;FN2)

FN1:=3;
FN2:=2;
@Power(FN1;FN2); returns 9

FN1:=3;
FN2:=-2;
@Power(FN1;FN2); returns 0.1111111111111

Example: @Power(FNLIST1;FN2)

FNLIST1:=2:3:4:5;
FN2:=2;
@Power(FNLIST1;FN2);

returns 4:9:16:25

Example: @Power(FN1;FNLIST2)

FN1:=-2;
FNLIST2:=2:3:4:5;
@Power(FN1;FNLIST2);

returns 4:-8:16:-32

Example: @Power(FNLIST1;FNLIST2)

FNLIST1:=2:3:4:5;
FNLIST2:=2:3:4:5;
@Power(FNLIST1;FNLIST2);

returns 4:27:256:3125

Note : This text was machine-translated and may contain inaccuracies.