Chapter 2: Main Application
57
Gamma Function
The Gamma function is called “gamma” on the ClassPad.
∫
+
∞
0
t
x
–1
e
–
t
dt
Γ
(
x
)
=
For an integer
n
the gamma is evaluated as shown below.
Q
²
Q
!
K
Q
^
XQGHILQHG
Q
s
The gamma is defined for all real numbers excluding zero and negative integers. It is also defined for all
complex numbers where either the real or imaginary part of the complex number is not an integer.
Gamma of a symbolic expression returns unevaluated.
Syntax:
gamma(
x
)
x
: variable or number
0213
(Calculation and graph example screenshots)
2-4
List Calculations
This section explains how to input list data, and how to perform basic list calculations.
Inputting List Data in the Work Area
0214
To input the list {1, 2, 3} and assign it to LIST variable “lista” in the Main application work area
LIST Variable Element Operations
You can recall the value of any element of a LIST variable. You can also assign a value to any element in a list.
0215
To recall the second element of the “lista” list variable of example
0214
0216
To assign 5 to the second element of “lista”
Using a List in a Calculation
You can perform arithmetic operations between two lists, between a list and a numeric value, or between a list
and an expression, equation, or inequality.
Important!
• When you perform an arithmetic operation between two lists, both of the lists need to have the same number
of elements. An error will occur if they do not.
• An error will also occur whenever an operation between any two elements of the two lists results in an error.
0217
Perform the operation list3 × {6, 0, 4} when list3 contains {41, 65, 22}
Using a List to Assign Different Values to Multiple Variables
Use the procedure in this section when you want to use a list to assign various different values to multiple variables.
Syntax:
List with Numbers
S
List with Variables
0218
Assign the values 10, 20, and 30, to variables
x
,
y
, and
z
respectively