# HP Calculator Wiki

### Site Tools

prime:programming:template_key

### Template Key

Prime Programming Language (PPL)

#### Σ

Calculates the sum of an expression.

Syntax

Input:

Program Editor
Algebraic Entry

Σ(expression, variable, lower limit, upper limit, step)

CAS Mode only: step can be omitted. When step is omitted, the increment is assumed to be 1.

Call up the template and fill the necessary blanks. The sum is calculated when you press the Enter key.

Examples:

CAS Mode:
Σ(7*n²,n,1,6) returns 637

Home Mode - Algebraic Entry:
Σ(7*N²,N,1, 6) returns 637

Notes: In CAS mode, the variable must be in lowercase. In Home mode, the variable must be in UPPERCASE.

Access: Template, Summation template: 3rd row, 3rd column

#### ∫

Calculates the integral of a function. Depending on the number of arguments used, an indefinite (symbolic) or definite (numeric) integral will be calculated.

Syntax

Input:

Call up the template and fill the necessary blanks. In CAS mode, you can omit the upper and lower limit for an indefinite integral.

Program Mode
Algebraic Entry

CAS Mode Only: Indefinite Integral of f(x):
∫(function of x)

CAS Mode Only: Indefinite Integral of any variable:
∫(expression, variable)

Definite Integral:
∫(expression, variable, lower limit, upper limit)

Textbook Entry
Home Mode - RPN

Call up the template and fill the necessary blanks. The sum is calculated when you press the Enter key. The variables must be in uppercase.

Examples:

CAS Mode:
∫(6-3*x) returns (-3*x^2+12*x)/2

Home Mode - Algebraic Entry:
∫(4+3*LN(N),N,1,5) returns 28.1415686865

Access: Template, Integral template: 2nd row, 4th column