|
|
---|---|
Syntax:
Description: Converts angle Example:
|
y N
[Fns…] > Modul 1:math… > Trig |
|
|
---|---|
Keyword Syntax: raise exception Description: Use raise to raise a specified exception and stop your program. |
y N |
|
|
---|---|
Syntax:
Description: Returns a random integer between Example:
Alternate Example:
Results will vary given a random output. |
[Fns…] > Modul
y N
import commands can be found in |
|
|
---|---|
Syntax:
Description: Returns a floating point number from 0 to 1.0. This function takes no arguments. Example:
Alternate Example:
Results will vary given a random output. |
» Modul
[Fns…] > Modul
y N
import commands can be found in |
|
|
---|---|
Syntax:
Description: Use after import Example:
Results will vary given a random output. |
y N
|
|
|
---|---|
Syntax:
Description: Returns a random number from start to stop by step. Example:
Alternate Example:
Results will vary given a random output. |
y N
import commands can be found in |
|
|
---|---|
Module: Built in Syntax: range(start,stop,step) Description: Use range function to return a sequence of numbers. All arguments are optional. Start default is 0, step default is 1 and sequence ends at stop. Example:
|
y N |
|
|
---|---|
Module: Built-in Syntax:var.real Description: Returns the real part of a specified variable of complex number type. Example:
|
|
|
|||||||
---|---|---|---|---|---|---|---|
Module: ti_system Syntax:var=recall_list("name") 1-6 Description: Recall a predefined OS list. List length must be less than or equal to 100. Argument: "name" For OS L1-L6
For OS custom list "name" ----- Max 5 characters, numbers or letters, starting with letters, and letters must be uppercase. Examples: "ABCDE" "R12" "L1" will be custom L1 and not OS L1 Reminder: Python is double precision. Python supports more digits than in the OS. Example: Sample program: Create a list in the OS. LIST={1,2,3}
Run Python App. Create a new program AA.
Run program AA. Shell displays output.
|
yK
|
|
|
---|---|
Module: ti_system Syntax:var=recall_RegEQ() Description: Recall the RegEQ variable from the CE OS. The regression equation must be computed in the OS prior to recalling RegEQ in the Python App. Example: See sample program: REGEQ1. |
yK
|
|
|
---|---|
Syntax:
Description: The Example:
|
y 9
y N
[Fns…] > List
|
|
|
---|---|
Syntax:
Description: A return statement defines the value produced by a function. Python functions return None by default. See also: def function(): Example:
|
y N
[Fns…] > Func
[Fns…] > Func |
|
|
---|---|
Syntax:
Description: Reverses the order of items in a sequence. Example:
|
y N
|
|
|
---|---|
Module: Built in Syntax: round(number, digits) Description: Use round function to return a floating point number rounded to the specified digits. Default digit is 0 and returns the nearest integer. Example:
|
y N |